ElasticSearch之Search settings

相关参数
indices.query.bool.max_clause_count
本参数当前已失效。

search.max_buckets
本参数用于控制在单个响应中返回的聚合的桶的数量。
默认值为65536

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

search.max_buckets: 30

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

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中配置,配置样例如下:

indices.query.bool.max_nested_depth: 30

相关资料

相关推荐

  1. ElasticSearchSlow Log

    2023-12-06 16:08:03       35 阅读
  2. ElasticSearchSearch settings

    2023-12-06 16:08:03       45 阅读
  3. Elasticsearch_reindex

    2023-12-06 16:08:03       34 阅读
  4. ElasticSearch优化篇

    2023-12-06 16:08:03       18 阅读

最近更新

  1. TCP协议是安全的吗?

    2023-12-06 16:08:03       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2023-12-06 16:08:03       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2023-12-06 16:08:03       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2023-12-06 16:08:03       20 阅读

热门阅读

  1. C++字符去除空格反转顺序输出

    2023-12-06 16:08:03       36 阅读
  2. 数据结构-堆

    2023-12-06 16:08:03       43 阅读
  3. 基数排序简单了解

    2023-12-06 16:08:03       36 阅读
  4. 基于Hadoop的异构网络协同过滤推荐算法设计

    2023-12-06 16:08:03       29 阅读
  5. 可以使用京东商品详情 API 获取哪些商品信息?

    2023-12-06 16:08:03       42 阅读
  6. Gson与FastJson详解

    2023-12-06 16:08:03       33 阅读
  7. (C++20) constinit常量初始化

    2023-12-06 16:08:03       41 阅读
  8. P5706 【深基2.例8】再分肥宅水

    2023-12-06 16:08:03       44 阅读
  9. AIOps、微服务和云平台

    2023-12-06 16:08:03       36 阅读
  10. 做题笔记:SQL Sever 方式做牛客SQL的题目--VQ29

    2023-12-06 16:08:03       33 阅读
  11. 蓝桥杯官网练习题(平均)

    2023-12-06 16:08:03       40 阅读
  12. vscode配置代码片段

    2023-12-06 16:08:03       35 阅读
  13. rocketmq 集群环境部署及与spring cloud 集成

    2023-12-06 16:08:03       30 阅读