aggregations.asciidoc 1.1 KB

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