Move scripted_metric agg to a plugin #19821
Labels
:Analytics/Aggregations
Aggregations
help wanted
adoptme
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
The
scripted_metric
aggregation is an expert level feature and has its own set of tradeoffs that need to be considered before reaching for it. Due to the fact that it uses scripts it is slow (when compared to other aggregations) especially as the complexity of the scripts increase. It also is not able to support certain functions, for example, you cannot sort a terms aggregation by thescripted_metric
aggregation.I think we should therefore move the
scripted_metric
aggregation to a plugin (not a module) so when users reach for it, it is a more explicit that this is an expert level aggregationThe text was updated successfully, but these errors were encountered: