[Lens] [EsAggs][Meta] Optimize esaggs requests when possible #153629
Labels
enhancement
New value added to drive a business result
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Meta
performance
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Describe the feature:
Lens is a generic analysis tool and leverages the esaggs infrastructure to query data from Elastisearch: in general the approach has been so far to not make specific assumptions based on fields or index metadata to build the aggs request to send over the wire.
I think as we are approaching enough coverage of supported aggs in the editor it makes sense to operate on the optimization side and leverage some metadata to reduce the query time when possible.
In the past some work has been already done to reduce the number of aggs (as for duplicate percentiles or formula duplicate operations) but this can be extended also to specific cases where ES offers speed-ups for specific cases.
Issue breakdown
The text was updated successfully, but these errors were encountered: