Elasticsearch - set max_clause_count

后端 未结 4 1673
名媛妹妹
名媛妹妹 2020-12-06 01:43

I have a pretty big terms query in elasticsearch, so I get too_many_clauses: maxClauseCount is set to 1024

I tried increasing it in the elasticsearch.y

4条回答
  •  长情又很酷
    2020-12-06 02:32

    this can also be achieved by updating configuration inside elasticsearch.yml file (inside config folder of elastic installation)

    indices.query.bool.max_clause_count:4096
    

提交回复
热议问题