mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-26 08:07:27 -04:00
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. |
||
---|---|---|
.. | ||
children-aggregation.asciidoc | ||
datehistogram-aggregation.asciidoc | ||
daterange-aggregation.asciidoc | ||
filter-aggregation.asciidoc | ||
filters-aggregation.asciidoc | ||
geodistance-aggregation.asciidoc | ||
geohashgrid-aggregation.asciidoc | ||
global-aggregation.asciidoc | ||
histogram-aggregation.asciidoc | ||
iprange-aggregation.asciidoc | ||
missing-aggregation.asciidoc | ||
nested-aggregation.asciidoc | ||
range-aggregation.asciidoc | ||
reverse-nested-aggregation.asciidoc | ||
significantterms-aggregation.asciidoc | ||
terms-aggregation.asciidoc |