OpenSearch/docs/reference/aggregations
qwerty4030 e7d352b489 Compound order for histogram aggregations. (#22343)
This commit adds support for histogram and date_histogram agg compound order by refactoring and reusing terms agg order code. The major change is that the Terms.Order and Histogram.Order classes have been replaced/refactored into a new class BucketOrder. This is a breaking change for the Java Transport API. For backward compatibility with previous ES versions the (date)histogram compound order will use the first order. Also the _term and _time aggregation order keys have been deprecated; replaced by _key.

Relates to #20003: now that all these aggregations use the same order code, it should be easier to move validation to parse time (as a follow up PR).

Relates to #14771: histogram and date_histogram aggregation order will now be validated at reduce time.

Closes #23613: if a single BucketOrder that is not a tie-breaker is added with the Java Transport API, it will be converted into a CompoundOrder with a tie-breaker.
2017-05-11 18:06:26 +01:00
..
bucket Compound order for histogram aggregations. (#22343) 2017-05-11 18:06:26 +01:00
matrix refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics CONSOLEify Stats Aggregation docs (#24373) 2017-05-01 13:33:24 -04:00
pipeline Docs: Correct description of example (#24541) 2017-05-09 15:18:43 -04:00
bucket.asciidoc Docs fix - Added missing link to new Adjacency-matrix agg 2017-01-23 10:18:30 +00:00
matrix.asciidoc refactor matrix agg documentation from modules to main agg section 2016-06-06 07:39:00 -05:00
metrics.asciidoc Adds geo_centroid metric aggregator 2015-10-14 16:19:09 -05:00
misc.asciidoc Use `typed_keys` parameter to prefix suggester names by type in search responses (#23080) 2017-02-10 10:53:38 +01:00
pipeline.asciidoc Re-enable doc testing for Pipeline Aggregations (#24374) 2017-05-01 13:30:51 -04:00