'How to increase max bucket count in AWS elastic search?
I am using AWS elasticsearch and I want to increase the max-bucket count but the below query is not working
PUT _cluster/settings
{
"persistent": {
"search.max_buckets": 20000
}
}
And it is showing response as
{"Message":"Your request: '/_cluster/settings' payload is not allowed."}
Thanks in advance
Solution 1:[1]
You cannot.
The cluster setting you'd like to change, like most other cluster settings, is not currently exposed by Amazon Elasticsearch. If your Elastic usage requires this or any other cluster setting that is not one of the following, you are out of luck and cannot use Amazon Elasticsearch.
Note that this is from the 7.x docs; the supported operations for other versions may vary:
action.auto_create_indexaction.search.shard_count.limitindices.breaker.fielddata.limitindices.breaker.request.limitindices.breaker.total.limitcluster.max_shards_per_node
Solution 2:[2]
No,we cannot change max bucket size .but you can setup a ES in server and use it for if need more bucket size. But it will make the results slow
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | breadmenace |
| Solution 2 | Kavin Raja |
