elasticsearch/docs/reference/mapping
Christos Soulios 4dc833fa44
Add doc_count field mapper (#64503)
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-03 17:47:17 +02:00
..
dynamic [DOCS] Fix hyphenation for "time series" (#61472) 2020-08-24 10:34:41 -04:00
fields Add doc_count field mapper (#64503) 2020-11-03 17:47:17 +02:00
params Document standard metadata entries. (#61941) 2020-10-12 09:49:39 +02:00
types [DOCS] Fix case for 'Boolean' (#64299) 2020-10-29 09:04:43 -04:00
dynamic-mapping.asciidoc [DOCS] Replace datatype with data type (#58972) 2020-07-07 13:52:10 -04:00
fields.asciidoc Add doc_count field mapper (#64503) 2020-11-03 17:47:17 +02:00
params.asciidoc [DOCS] Replace datatype with data type (#58972) 2020-07-07 13:52:10 -04:00
removal_of_types.asciidoc Remove [removal-of-types] docs page, and point to 7x docs (#53670) 2020-03-18 14:13:00 +00:00
types.asciidoc [DOCS] Sort field data types in docs (#64288) 2020-10-28 12:13:01 -04:00