Search.max_buckets setting in ES 6.7 - The expected behavior

Hi,
We are on ES 6.7. We previously did not set search.max_buckets. After having some recent cluster outage, we are leaning towards introducing some limits. One of them is search.max_buckets.
I was reading the below documents:
https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-aggregations-bucket.html
The maximum number of buckets allowed in a single response is limited by a dynamic cluster setting named search.max_buckets. We are planning to set it to 1000. However, we are afraid that this may break some customer who have >1000 buckets. We are doing an impact study. Are they going to get only 1000 buckets or they are going to get an exception? In 7.x , we know that they are getting an exception. What about 6.7?
-Musfiqur

What about 6.7?

Any request that tries to create more than search.max_buckets will throw an exception so same behavior as in 7.x.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.