OpenSearch/docs/java-api
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
..
admin Docs: fix a typo in transport client's put-mapping.asciidoc (#23607) 2017-03-20 15:05:40 -04:00
aggregations Compound order for histogram aggregations. (#22343) 2017-05-11 18:06:26 +01:00
docs Docs: fix response object name 2017-04-05 16:03:49 -04:00
query-dsl Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
aggs.asciidoc removing duplicated parenthese open (#17975) 2016-04-26 20:13:08 +02:00
client.asciidoc Update TransportClient java documentation (#24205) 2017-04-20 10:35:35 +02:00
docs.asciidoc Add documentation for Delete By Query Java API 2016-12-16 18:11:55 +01:00
index.asciidoc Upgrade to Log4j 2.8.2 2017-04-09 07:19:16 -04:00
indexed-scripts.asciidoc cutover some docs to painless 2016-06-27 09:55:16 -04:00
query-dsl.asciidoc Build that java api docs from a test (#24354) 2017-05-02 13:00:56 -04:00
search.asciidoc docs: fix search info in transport API docs (#22045) 2017-04-17 22:19:47 -04:00