Elasticsearch: The max_clause_count setting is not documented

Created on 8 Aug 2016  ·  3Comments  ·  Source: elastic/elasticsearch

The max_clause_count option is not documented in the reference documentation.

It seems that it was documented once (https://github.com/elastic/elasticsearch/issues/482#issuecomment-563798):

in the elasticsearch configuration file (the yml file for example), set the mentioned setting. See more here: http://www.elasticsearch.com/docs/elasticsearch/setup/configuration/#Settings.

:SearcSearch >docs

Most helpful comment

any updates here?

All 3 comments

The only place I can find it mentioned is in the 5.0 breaking settings changes

Some mention would be useful along with a little background on reasons for keeping it low and how high it might be reasonable to set it in particular circumstances. It looks like the default value is 1024.

I have found some answers in discussion fora that recommend against increasing this limit, in favour of changing the query usage to avoid high numbers of clauses:

any updates here?

Pinging @elastic/es-search-aggs

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ttaranov picture ttaranov  ·  3Comments

martijnvg picture martijnvg  ·  3Comments

makeyang picture makeyang  ·  3Comments

mayyamus picture mayyamus  ·  3Comments

DhairyashilBhosale picture DhairyashilBhosale  ·  3Comments