使用 dmesg 来查看一些硬件或驱动程序的信息或问题。

Elasticsearch 查询问题

Elasticsearch | 作者 chaochao6411 | 发布于2019年04月22日 | 阅读数:8650

Elasticsearch查询的时候,报这个错误,网上没有找到原因,麻烦给看下:
 
 {"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"","phase":"fetch","grouped":true,"failed_shards":[],"caused_by":{"type":"too_many_buckets_exception","reason":"Trying to create too many buckets. Must be less than or equal to: [1000] but was [1001]. This limit can be set by changing the [search.max_buckets] cluster level setting.","max_buckets":1000}},"status":503} 
已邀请:

liuzhen6835

赞同来自:

Trying to create too many buckets. Must be less than or equal to: [1000] but was [1001] 

zqc0512 - andy zhou

赞同来自:

search.max_buckets 说得很明白啊。这玩意小了。

laoyang360 - 《一本书讲透Elasticsearch》作者,Elastic认证工程师 [死磕Elasitcsearch]知识星球地址:http://t.cn/RmwM3N9;微信公众号:铭毅天下; 博客:https://elastic.blog.csdn.net

赞同来自:

设置:这是6.x版本才有的特性,目的:限制大批量聚合操作,规避性能风险。
解决方案:setting里设置:search.max_buckets


官网地址:
https://www.elastic.co/guide/e ... .html

相关讨论:https://discuss.elastic.co/t/w ... 48170

.github讨论:https://github.com/elastic/ela ... 27581

要回复问题请先登录注册