Add some clarification regarding docs.count

* Add some clarification regarding docs.count

* Some improvements as suggested by @jasontedor
This commit is contained in:
Herbert Fischer 2016-04-07 11:15:32 +02:00 committed by Clinton Gormley
parent 975094f7d4
commit c0ebce0ba0
2 changed files with 5 additions and 2 deletions

View File

@ -13,8 +13,9 @@ 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 We can tell quickly how many shards make up an index, the number of
docs, deleted docs, primary store size, and total store size (all docs at the Lucene level, including hidden docs (e.g., from nested types),
shards including replicas). deleted docs, primary store size, and total store size (all shards including replicas).
All these exposed metrics come directly from Lucene APIs.
[float] [float]
[[pri-flag]] [[pri-flag]]

View File

@ -44,6 +44,8 @@ generation:: The generation number is incremented with each segment that is w
The name of the segment is derived from this generation number. The name of the segment is derived from this generation number.
docs.count:: The number of non-deleted documents that are stored in this segment. docs.count:: The number of non-deleted documents that are stored in this segment.
Note that these are Lucene documents, so the count will include hidden
documents (e.g. from nested types).
docs.deleted:: The number of deleted documents that are stored in this segment. docs.deleted:: The number of deleted documents that are stored in this segment.
It is perfectly fine if this number is greater than 0, space is It is perfectly fine if this number is greater than 0, space is