ElasticSearch之Search settings

相关参数
indices.query.bool.max_clause_count

本参数当前已失效。

search.max_buckets

本参数用于控制在单个响应中返回的聚合的桶的数量。

默认值为65536

本参数允许在elasticsearch.yml中配置,配置样例如下:

yml 复制代码
search.max_buckets: 30

或者使用ElasticSearch cluster update settings API修改,命令样例如下:

shell 复制代码
curl -X PUT "https://localhost:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d'
{
  "persistent" : {
    "search.max_buckets" : 65536
  }
}
' --cacert $ES_HOME/config/certs/http_ca.crt -u "elastic:ohCxPH=QBE+s5=*lo7F9"

indices.query.bool.max_nested_depth

本参数用于控制查询时的深度,过大的参数值可能导致栈溢出错误。

默认值为30

本参数只允许在elasticsearch.yml中配置,配置样例如下:

yml 复制代码
indices.query.bool.max_nested_depth: 30

相关资料

相关推荐
影龙帝皖24 分钟前
Linux服务之lvs+keepalived nginx+keepalived负载均衡实例解析
linux·nginx·lvs
胡小禾26 分钟前
ES常识8:ES8.X如何实现热词统计
大数据·elasticsearch·jenkins
八月的雨季 最後的冰吻33 分钟前
SIP协议栈--osip源码梳理
linux·服务器·网络·c++·网络协议
敖云岚2 小时前
【Linux】基于虚拟机实现网络的管理
linux·服务器·网络
luck_me52 小时前
如何远程执行脚本不留痕迹
linux·运维·服务器
-SGlow-2 小时前
Linux相关概念和易错知识点(40)(HTML资源交互、网页管理、搜索引擎)
linux·运维·服务器·网络·html·交互
默心2 小时前
centos7部署mysql5.7
linux·运维·mysql·centos
-SGlow-2 小时前
Linux相关概念和易错知识点(39)(URL、HTTP)
linux·运维·http
因缘而起12 小时前
【Linux】gcc从源码编译安装,修改源码,验证修改的源码
linux·运维·服务器
山川而川-R3 小时前
开机自启动python程序_ubuntu22.04
linux·运维·服务器