Ergonomically set the search.max_buckets
setting
#91776
Labels
:Analytics/Aggregations
Aggregations
>enhancement
Team:Analytics
Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
search.max_buckets
is similar to the maximum number of clauses in queries in that it is a proxy for resource usage, which is much easier to count than actual resource usage. Having a limit on the number of buckets produced helps ensure that aggregations do not exceed resource limits, such as heap.But not all nodes have the same resources, and the fixed limit on
search.max_buckets
doesn't reflect this. In #46433 (comment) we decided to move from a fixed limit on the number of clauses in queries to a value that would be set ergonomically based on resources, let's do the same with the similarsearch.max_buckets
setting?Questions:
The text was updated successfully, but these errors were encountered: