| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- [discrete]
- [[breaking_80_aggregations_changes]]
- ==== Aggregations changes
- //NOTE: The notable-breaking-changes tagged regions are re-used in the
- //Installation and Upgrade Guide
- //tag::notable-breaking-changes[]
- [[remove-term-order-key]]
- .The `terms` aggregation no longer supports the `_term` order key.
- [%collapsible]
- ====
- *Details* +
- The `terms` aggregation no longer supports the `_term` key in `order` values. To
- sort buckets by their term, use `_key` instead.
- *Impact* +
- Discontinue use of the `_term` order key. Requests that include a `_term` order
- key will return an error.
- ====
- [[remove-time-order-key]]
- .The `date_histogram` aggregation no longer supports the `_time` order key.
- [%collapsible]
- ====
- *Details* +
- The `date_histogram` aggregation no longer supports the `_time` key in `order`
- values. To sort buckets by their key, use `_key` instead.
- *Impact* +
- Discontinue use of the `_time` order key. Requests that include a `_time` order
- key will return an error.
- ====
- [[remove-moving-avg-agg]]
- .The `moving_avg` aggregation has been removed.
- [%collapsible]
- ====
- *Details* +
- The `moving_avg` aggregation was deprecated in 6.4 and has been removed. To
- calculate moving averages, use the
- {ref}/search-aggregations-pipeline-movfn-aggregation.html[`moving_fn`
- aggregation] instead.
- *Impact* +
- Discontinue use of the `moving_avg` aggregation. Requests that include the
- `moving_avg` aggregation will return an error.
- ====
- [[percentile-duplication]]
- .The `percentiles` aggregation's `percents` parameter no longer supports duplicate values.
- [%collapsible]
- ====
- *Details* +
- If you specify the `percents` parameter with the
- {ref}/search-aggregations-metrics-percentile-aggregation.html[`percentiles` aggregation],
- its values must be unique. Otherwise, an exception occurs.
- *Impact* +
- Use unique values in the `percents` parameter of the `percentiles` aggregation.
- Requests containing duplicate values in the `percents` parameter will return
- an error.
- ====
- [[date-histogram-interval]]
- .The `date_histogram` aggregation's `interval` parameter is no longer valid.
- [%collapsible]
- ====
- *Details* +
- It is now an error to specify the `interval` parameter to the
- {ref}/search-aggregations-bucket-datehistogram-aggregation.html[`date_histogram`
- aggregation] or the
- {ref}/search-aggregations-bucket-composite-aggregation.html#_date_histogram[`composite
- date_histogram` source. Instead, please use either `calendar_interval` or
- `fixed_interval` as appropriate.
- *Impact* +
- Uses of the `interval` parameter in either the `date_histogram` aggregation or
- the `date_histogram` composite source will now generate an error. Instead
- please use the more specific `fixed_interval` or `calendar_interval`
- parameters.
- ====
- // end::notable-breaking-changes[]
|