diff --git a/docs/reference/mapping/fields/doc-count-field.asciidoc b/docs/reference/mapping/fields/doc-count-field.asciidoc index d8898a690bf6..00d0513c7c90 100644 --- a/docs/reference/mapping/fields/doc-count-field.asciidoc +++ b/docs/reference/mapping/fields/doc-count-field.asciidoc @@ -1,8 +1,5 @@ [[mapping-doc-count-field]] -=== `_doc_count` data type -++++ -_doc_count -++++ +=== `_doc_count` field Bucket aggregations always return a field named `doc_count` showing the number of documents that were aggregated and partitioned in each bucket. Computation of the value of `doc_count` is very simple. `doc_count` is incremented by 1 for every document collected