aggregations.asciidoc 1.0 KB

1234567891011121314151617181920212223
  1. [[breaking_70_aggregations_changes]]
  2. === Aggregations changes
  3. ==== Deprecated `global_ordinals_hash` and `global_ordinals_low_cardinality` execution hints for terms aggregations have been removed
  4. These `execution_hint` are removed and should be replaced by `global_ordinals`.
  5. ==== `search.max_buckets` in the cluster setting
  6. The dynamic cluster setting named `search.max_buckets` now defaults
  7. to 10,000 (instead of unlimited in the previous version).
  8. Requests that try to return more than the limit will fail with an exception.
  9. ==== `missing` option of the `composite` aggregation has been removed
  10. The `missing` option of the `composite` aggregation, deprecated in 6.x,
  11. has been removed. `missing_bucket` should be used instead.
  12. ==== Replaced `params._agg` with `state` context variable in scripted metric aggregations
  13. The object used to share aggregation state between the scripts in a Scripted Metric
  14. Aggregation is now a variable called `state` available in the script context, rather than
  15. being provided via the `params` object as `params._agg`.