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

相关资料

相关推荐
不怕犯错,就怕不做3 小时前
RK3562的CPU如何降频及关闭硬件编解码
linux·驱动开发·嵌入式硬件
CoderMeijun3 小时前
Linux 文件操作详解:open/read/write/lseek 系统调用
linux·文件操作·系统调用·open·文件描述符
可可西里_X_back3 小时前
Linux学习(二)- 驱动开发步骤
linux·驱动开发·学习
Hical_W3 小时前
Hical 踩坑实录五部曲(二):MSVC / GCC / Clang 三平台 C++20 编译差异
linux·windows·经验分享·嵌入式硬件·macos·开源·c++20
活蹦乱跳酸菜鱼4 小时前
linux ATF BL2执行过程
linux
淡淡烟雨淡淡愁6 小时前
安装libreoffice
linux
蜀道山老天师6 小时前
云原生监控入门:监控基础概念 + SLI/SLO/SLA 详解 + Prometheus 从零安装配置
linux·运维·云原生·prometheus
AIDF20266 小时前
linux 服务器网络问题排查
linux·服务器·网络
楼兰公子6 小时前
br_opi5_plus_defconfig 附带uboot
linux·运维·服务器
Elasticsearch6 小时前
使用 Elasticsearch 与 Kibana 中的 PromQL 调查 Kubernetes 基础设施问题
elasticsearch