How Do I Set the search.max_buckets Parameter for an Elasticsearch Cluster?
Function
By default, CSS allows a maximum of 10,000 buckets to be returned during aggregation. If more than 10,000 buckets need to be returned during aggregation, you can increase the value of search.max_buckets. Note that increasing the value of search.max_buckets also increases the cluster load and memory usage. Therefore, exercise caution when performing this operation.
Solution
PUT _cluster/settings { "persistent": { "search.max_buckets": 20000 } }
Parameter Configuration FAQs
- How Do I Set the search.max_buckets Parameter for an Elasticsearch Cluster?
- Can I Modify the TLS Algorithm of an Elasticsearch Cluster?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore