- 修改serarch.max_buckets 限制
PUT _cluster/settings
{
"transient": {
"search.max_buckets": "2147483647"
}
}
- 修改request data to longer
PUT /_cluster/_settings
{
"persistent" : {
"indices.breaker.request.limit" : "40%"
}
}
- ES集群API请求设置与配置文件设置优先级说明:
a.临时设置(集群节点全部重启失效):
{
"transient" : {
"xxx" : "yyy"
}
}
b.永久设置(集群节点全部重启依然生效):
PUT /_cluster/settings
{
"persistent" : {
"xxx" : "yyy"
}
}
(2)配置文件设置(集群节点全部重启依然生效):elasticsearch.yml
优先级:
transient cluster settings > persistent cluster settings > settings in the elasticsearch.yml configuration file.
网友评论