elasticsearch/docs/reference/mapping/fields
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
..
doc-count-field.asciidoc [7.x] Add doc_count field mapper (#64594) 2020-11-06 11:54:29 +02:00
field-names-field.asciidoc Make MetadataFieldMapper extend ParametrizedFieldMapper (#59847) (#60924) 2020-08-11 09:02:28 +01:00
id-field.asciidoc [DOCS] Update my-index examples (#60132) (#60248) 2020-07-27 15:58:26 -04:00
ignored-field.asciidoc [DOCS] Change // CONSOLE comments to [source,console] (#46441) (#46451) 2019-09-06 11:31:13 -04:00
index-field.asciidoc Correct outdated information in _index docs. (#48436) 2019-10-24 11:02:25 -07:00
meta-field.asciidoc [DOCS] Update my-index examples (#60132) (#60248) 2020-07-27 15:58:26 -04:00
routing-field.asciidoc [DOCS] Update my-index examples (#60132) (#60248) 2020-07-27 15:58:26 -04:00
source-field.asciidoc [DOCS] Remove metrics sidebar in _source docs (#60777) (#60786) 2020-08-05 16:19:47 -04:00
type-field.asciidoc [DOCS] Update my-index examples (#60132) (#60248) 2020-07-27 15:58:26 -04:00