Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update search.max_buckets in elasticsearch

I have a doubt about update search.max_buckets, because I have some warning due that an aggregation creates too many buckets, so my doubt is if I update this value over 10000, I will improve the performance. Now I have some times that I would like to improve.

Thanks in advance.


1 Answers

Do note that search.max_buckets is a safety soft-limit designed to prevent bad aggregations from hurting nodes. So be careful about making the limit too high. If you're tripping the limit often it might mean your aggregations need to be reconsidered or made smaller.

like image 91
SHUHAIB AREEKKAN Avatar answered Jan 05 '26 07:01

SHUHAIB AREEKKAN



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!