Browse Source

[doc] Cat API: show open and closed indices in _cat/indices

Related to #7936
David Pilato 10 years ago
parent
commit
d9c19cd846
1 changed files with 8 additions and 8 deletions
  1. 8 8
      docs/reference/cat/indices.asciidoc

+ 8 - 8
docs/reference/cat/indices.asciidoc

@@ -7,9 +7,9 @@ information *spans nodes*.
 [source,shell]
 --------------------------------------------------
 % curl 'localhost:9200/_cat/indices/twi*?v'
-health index    pri rep docs.count docs.deleted store.size pri.store.size
-green  twitter    5   1      11434            0       64mb           32mb
-green  twitter2   2   0       2030            0      5.8mb          5.8mb
+health status index    pri rep docs.count docs.deleted store.size pri.store.size
+green  open   twitter    5   1      11434            0       64mb           32mb
+green  open   twitter2   2   0       2030            0      5.8mb          5.8mb
 --------------------------------------------------
 
 We can tell quickly how many shards make up an index, the number of
@@ -33,8 +33,8 @@ Which indices are yellow?
 [source,shell]
 --------------------------------------------------
 % curl localhost:9200/_cat/indices | grep ^yell
-yellow wiki     2 1  6401 1115 151.4mb 151.4mb
-yellow twitter  5 1 11434    0    32mb    32mb
+yellow open  wiki     2 1  6401 1115 151.4mb 151.4mb
+yellow open  twitter  5 1 11434    0    32mb    32mb
 --------------------------------------------------
 
 What's my largest index by disk usage not including replicas?
@@ -42,9 +42,9 @@ What's my largest index by disk usage not including replicas?
 [source,shell]
 --------------------------------------------------
 % curl 'localhost:9200/_cat/indices?bytes=b' | sort -rnk7
-green wiki     2 0  6401 1115 158843725 158843725
-green twitter  5 1 11434    0  67155614  33577857
-green twitter2 2 0  2030    0   6125085   6125085
+green open  wiki     2 0  6401 1115 158843725 158843725
+green open  twitter  5 1 11434    0  67155614  33577857
+green open  twitter2 2 0  2030    0   6125085   6125085
 --------------------------------------------------
 
 How many merge operations have the shards for the `wiki` completed?