[EsAggs] Improve agg performance setting track_total_hits
to false
#164194
Labels
enhancement
New value added to drive a business result
Feature:Lens
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Projects
Describe the feature:
Any aggregation only search request’s (size=0) performance can be improved by setting ‘track_total_hits’ to ‘false’.
This was also confirmed by ES team.
It would be nice to find all those opportunities on our side to leverage it for speed-ups.
@thomasneirynck reported that Maps is already using this.
From my first investigation Lens is simply relying on the default of the esAggs code, which should be
true
.Tasks:
The text was updated successfully, but these errors were encountered: