File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
server/src/main/java/org/elasticsearch/search/aggregations/pipeline Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2121import java .io .IOException ;
2222import java .util .Map ;
2323
24+ /**
25+ * The actual moving_avg aggregation was removed as a breaking change in 8.0. This class exists to provide a friendlier error message
26+ * if somebody attempts to use the moving_avg aggregation via the compatible-with=7 mechanism.
27+ *
28+ * We can remove this class entirely when v7 rest api compatibility is dropped.
29+ *
30+ * @deprecated Only for 7.x rest compat
31+ */
32+ @ Deprecated
2433public class MovAvgPipelineAggregationBuilder extends AbstractPipelineAggregationBuilder <MovAvgPipelineAggregationBuilder > {
2534 private static final DeprecationLogger deprecationLogger = DeprecationLogger .getLogger (CommonTermsQueryBuilder .class );
2635 public static final String MOVING_AVG_AGG_DEPRECATION_MSG = "Moving Average aggregation usage is not supported. "
You can’t perform that action at this time.
0 commit comments