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

相关资料

相关推荐
誰能久伴不乏1 小时前
Linux系统调用概述与实现:深入浅出的解析
linux·运维·服务器
程序员学习随笔1 小时前
Linux进程深度解析(2):fork/exec写时拷贝性能优化与exit资源回收机制(进程创建和销毁)
linux·运维·服务器
mmoyula1 小时前
【RK3568 PWM 子系统(SG90)驱动开发详解】
android·linux·驱动开发
-SGlow-1 小时前
MySQL相关概念和易错知识点(2)(表结构的操作、数据类型、约束)
linux·运维·服务器·数据库·mysql
代码改变世界ctw2 小时前
Linux内核设计与实现 - 第14章 块I/O层
linux·运维·服务器
Hello.Reader2 小时前
Go-Elasticsearch v9 安装与版本兼容性
elasticsearch·golang·jenkins
van叶~4 小时前
Linux网络-------1.socket编程基础---(TCP-socket)
linux·网络·tcp/ip
风吹落叶花飘荡4 小时前
Ubuntu系统 系统盘和数据盘扩容具体操作
linux·运维·ubuntu
zoulingzhi_yjs5 小时前
haproxy配置详解
linux·云原生
bingbingyihao5 小时前
Node.js 模拟 Linux 环境
linux·node.js