aggregations.asciidoc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. [discrete]
  2. [[breaking_80_aggregations_changes]]
  3. ==== Aggregations changes
  4. //NOTE: The notable-breaking-changes tagged regions are re-used in the
  5. //Installation and Upgrade Guide
  6. //tag::notable-breaking-changes[]
  7. [[percentile-duplication]]
  8. .The `percentiles` aggregation's `percents` parameter no longer supports duplicate values.
  9. [%collapsible]
  10. ====
  11. *Details* +
  12. If you specify the `percents` parameter with the
  13. {ref}/search-aggregations-metrics-percentile-aggregation.html[`percentiles` aggregation],
  14. its values must be unique. Otherwise, an exception occurs.
  15. *Impact* +
  16. Use unique values in the `percents` parameter of the `percentiles` aggregation.
  17. Requests containing duplicate values in the `percents` parameter will return
  18. an error.
  19. ====
  20. [[date-histogram-interval]]
  21. .The `date_histogram` aggregation's `interval` parameter is no longer valid.
  22. [%collapsible]
  23. ====
  24. *Details* +
  25. It is now an error to specify the `interval` parameter to the
  26. {ref}/search-aggregations-bucket-datehistogram-aggregation.html[`date_histogram`
  27. aggregation] or the
  28. {ref}/search-aggregations-bucket-composite-aggregation.html#_date_histogram[`composite
  29. date_histogram` source. Instead, please use either `calendar_interval` or
  30. `fixed_interval` as appropriate.
  31. *Impact* +
  32. Uses of the `interval` parameter in either the `date_histogram` aggregation or
  33. the `date_histogram` composite source will now generate an error. Instead
  34. please use the more specific `fixed_interval` or `calendar_interval`
  35. parameters.
  36. ====
  37. // end::notable-breaking-changes[]