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

相关资料

posted @   jackieathome  阅读(69)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示