OpenSearch/docs/reference/aggregations/bucket
Adrien Grand 32e23b9100 Aggs: Make it possible to configure missing values.
Most aggregations (terms, histogram, stats, percentiles, geohash-grid) now
support a new `missing` option which defines the value to consider when a
field does not have a value. This can be handy if you eg. want a terms
aggregation to handle the same way documents that have "N/A" or no value
for a `tag` field.

This works in a very similar way to the `missing` option on the `sort`
element.

One known issue is that this option sometimes cannot make the right decision
in the unmapped case: it needs to replace all values with the `missing` value
but might not know what kind of values source should be produced (numerics,
strings, geo points?). For this reason, we might want to add an `unmapped_type`
option in the future like we did for sorting.

Related to #5324
2015-05-15 16:26:58 +02:00
..
children-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
datehistogram-aggregation.asciidoc Aggs: Make it possible to configure missing values. 2015-05-15 16:26:58 +02:00
daterange-aggregation.asciidoc Docs: Fixed typos 2015-05-05 10:38:05 +02:00
filter-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
filters-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
geodistance-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
geohashgrid-aggregation.asciidoc Query DSL: Remove filter parsers. 2015-05-07 20:14:34 +02:00
global-aggregation.asciidoc Docs: Fixed typos 2015-05-05 10:38:05 +02:00
histogram-aggregation.asciidoc Aggs: Make it possible to configure missing values. 2015-05-15 16:26:58 +02:00
iprange-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
missing-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
nested-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
range-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
reverse-nested-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
sampler-aggregation.asciidoc [DOCS] Fix section levels for Sampler agg 2015-05-04 09:18:24 -04:00
significantterms-aggregation.asciidoc [DOCS] Restructure Aggs documentation 2015-05-01 16:04:55 -04:00
terms-aggregation.asciidoc Aggs: Make it possible to configure missing values. 2015-05-15 16:26:58 +02:00