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

相关资料

相关推荐
鱼很腾apoc几秒前
【MySQL】第4期 用户管理与 C 语言连接编程详解
linux·服务器·c语言·mysql·connector/c
刚入门的大一新生28 分钟前
Linux-进程间通信1
linux·运维·服务器
张宇Joaquin1 小时前
Linux系统下磁盘扇区512n、512e和4kn的区别
linux·运维·数据库
道虽迩,不行不至1 小时前
数据库自动连库执行增量脚本-Linux
linux·数据库
GeW1 小时前
新质生产力发展路线图来了,Linux和数据库人该怎么接
linux·数据库
yunwei371 小时前
eBPF 示例:使用 CUPTI 构建 GPU 火焰图分析器
linux·后端·性能优化
张宇Joaquin2 小时前
自研SP600系列网卡驱动跟麒麟V10 SP3 2403配套关系
linux·运维·网络
艾iYYY2 小时前
【无标题】
linux·开发语言·网络·操作系统
mklpo1473 小时前
在 安卓手机 上通过termux运行 gentoo 和 宝塔面板。2026.10.19
linux·运维·服务器
xatu3 小时前
ubuntu容器在redhat系统下使用大模型API问题
linux·运维·ubuntu