Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Admin: show open and closed indices in _cat/indices
When asking for `GET /_cat/indices?v`, you can now retrieve closed indices in addition to opened ones. ``` health status index pri rep docs.count docs.deleted store.size pri.store.size yellow open .marvel-2014.05.21 1 1 8792 0 21.7mb 21.7mb close test yellow open .marvel-2014.05.22 1 1 3871 0 10.7mb 10.7mb red open .marvel-2014.05.27 1 1 ``` Closes #7907. Closes #7936.
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ | |
- match: | ||
$body: | | ||
/^(green \s+ | ||
(open|close) \s+ | ||
index1 \s+ | ||
1 \s+ | ||
0 \s+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters