Commit graph

3 commits

Author SHA1 Message Date
James Rodewig
9e00530942
[DOCS] Fix _doc_count field title (#65704) (#65738) 2020-12-02 08:27:38 -05:00
James Rodewig
ead04bfd0b
[DOCS] Fix _doc_count example typo (#65686) (#65702)
Co-authored-by: Gil Raphaelli <gil@elastic.co>
2020-12-01 14:56:59 -05:00
Christos Soulios
e1d7b4ff54
[7.x] Add doc_count field mapper (#64594)
Bucket aggregations compute bucket doc_count values by incrementing the doc_count by 1 for every document collected in the bucket.

When using summary fields (such as aggregate_metric_double) one field may represent more than one document. To provide this functionality we have implemented a new field mapper (named doc_count field mapper). This field is a positive integer representing the number of documents aggregated in a single summary field.

Bucket aggregations will check if a field of type doc_count exists in a document and will take this value into consideration when computing doc counts.
2020-11-06 11:54:29 +02:00