2017-08-21 14:44:34 -04:00
|
|
|
[[breaking_70_aggregations_changes]]
|
|
|
|
=== Aggregations changes
|
|
|
|
|
|
|
|
==== Deprecated `global_ordinals_hash` and `global_ordinals_low_cardinality` execution hints for terms aggregations have been removed
|
|
|
|
|
2017-12-06 03:15:28 -05:00
|
|
|
These `execution_hint` are removed and should be replaced by `global_ordinals`.
|
|
|
|
|
|
|
|
==== `search.max_buckets` in the cluster setting
|
|
|
|
|
|
|
|
The dynamic cluster setting named `search.max_buckets` now defaults
|
|
|
|
to 10,000 (instead of unlimited in the previous version).
|
2018-05-30 06:55:31 -04:00
|
|
|
Requests that try to return more than the limit will fail with an exception.
|
|
|
|
|
|
|
|
==== `missing` option of the `composite` aggregation has been removed
|
|
|
|
|
|
|
|
The `missing` option of the `composite` aggregation, deprecated in 6.x,
|
2018-06-25 07:01:33 -04:00
|
|
|
has been removed. `missing_bucket` should be used instead.
|
|
|
|
|
|
|
|
==== Replaced `params._agg` with `state` context variable in scripted metric aggregations
|
|
|
|
|
|
|
|
The object used to share aggregation state between the scripts in a Scripted Metric
|
|
|
|
Aggregation is now a variable called `state` available in the script context, rather than
|
|
|
|
being provided via the `params` object as `params._agg`.
|