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

相关资料

相关推荐
skywalk81633 分钟前
为什么Linux系统里用户id和组id不一样?怎么改成一样呢?
linux·服务器
HIT_Weston4 分钟前
72、【Ubuntu】【Hugo】搭建私人博客:Git 下载方式对比
linux·git·ubuntu
天骄t19 分钟前
OSI与TCP/IP:网络协议栈深度解析
linux
无事好时节21 分钟前
Linux 进程通信:信号与共享内存详解
linux·网络·网络协议
春日见23 分钟前
如何提升手眼标定精度?
linux·运维·开发语言·数码相机·matlab
weixin_4624462327 分钟前
使用 Ubuntu 构建 code-server Docker 镜像的完整指南
linux·ubuntu·docker
Tipriest_28 分钟前
Python 常用特殊变量与关键字详解
linux·python·关键字·特殊变量
一周困⁸天.34 分钟前
GitOps 详解与工具链全解析
linux·运维·devops
坐吃山猪34 分钟前
Python命令行工具Fire
linux·开发语言·python
叫致寒吧36 分钟前
Docker资源限制 与数据卷
linux·运维·docker