Browse Source

[DOCS] Add breaking change for `moving_avg` (#78018)

Documents the removal of the `moving_avg` aggregation in the 8.0 breaking changes.

Relates to #29594.
James Rodewig 4 years ago
parent
commit
f3f11ab365
1 changed files with 17 additions and 0 deletions
  1. 17 0
      docs/reference/migration/migrate_8_0/aggregations.asciidoc

+ 17 - 0
docs/reference/migration/migrate_8_0/aggregations.asciidoc

@@ -6,6 +6,22 @@
 //Installation and Upgrade Guide
 //Installation and Upgrade Guide
 
 
 //tag::notable-breaking-changes[]
 //tag::notable-breaking-changes[]
+
+[[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]]
 [[percentile-duplication]]
 .The `percentiles` aggregation's `percents` parameter no longer supports duplicate values.
 .The `percentiles` aggregation's `percents` parameter no longer supports duplicate values.
 [%collapsible]
 [%collapsible]
@@ -20,6 +36,7 @@ Use unique values in the `percents` parameter of the `percentiles` aggregation.
 Requests containing duplicate values in the `percents` parameter will return
 Requests containing duplicate values in the `percents` parameter will return
 an error.
 an error.
 ====
 ====
+
 [[date-histogram-interval]]
 [[date-histogram-interval]]
 .The `date_histogram` aggregation's `interval` parameter is no longer valid.
 .The `date_histogram` aggregation's `interval` parameter is no longer valid.
 [%collapsible]
 [%collapsible]