OpenSearch/docs/reference/migration/migrate_6_0
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
..
aggregations.asciidoc Remove support for the include/pattern syntax. (#23141) 2017-03-01 10:00:38 +01:00
cat.asciidoc Remove 5.x references from cat API migration doc 2016-11-09 07:09:59 -05:00
cluster.asciidoc No longer allow cluster name in data path 2016-09-12 15:47:01 -06:00
docs.asciidoc Fixed chunking of breaking changes docs 2017-05-05 11:08:55 +02:00
indices.asciidoc Fixed chunking of breaking changes docs 2017-05-05 11:08:55 +02:00
ingest.asciidoc Change type of ingest doc meta-data field 'TIMESTAMP' to `Date` (#22234) 2016-12-19 09:10:58 +01:00
java.asciidoc Compound order for histogram aggregations. (#22343) 2017-05-11 18:06:26 +01:00
mappings.asciidoc Fixed chunking of breaking changes docs 2017-05-05 11:08:55 +02:00
packaging.asciidoc Remove customization of ES_USER and ES_GROUP 2017-04-14 13:24:21 -06:00
percolator.asciidoc percolator: remove deprecated percolate and mpercolate apis 2017-01-10 11:18:27 +01:00
plugins.asciidoc S3 Repository: Remove deprecated settings (#24445) 2017-05-10 20:12:17 -07:00
rest.asciidoc Identify documents by their `_id`. (#24460) 2017-05-09 16:33:52 +02:00
scripting.asciidoc Added removal of JavaScript and Python to breaking changes 2017-05-05 12:39:50 +02:00
search.asciidoc Removed deprecated template query. 2017-05-11 14:56:45 +02:00
settings.asciidoc Upgrade to a Lucene 7 snapshot (#24089) 2017-04-18 15:17:21 +02:00
stats.asciidoc Simplify file store 2017-05-04 11:19:41 -04:00