Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The max_clause_count setting is not documented #19858

Closed
dawi opened this issue Aug 8, 2016 · 3 comments
Closed

The max_clause_count setting is not documented #19858

dawi opened this issue Aug 8, 2016 · 3 comments
Labels
>docs General docs changes :Search/Search Search-related issues that do not fall into other categories

Comments

@dawi
Copy link

dawi commented Aug 8, 2016

The max_clause_count option is not documented in the reference documentation.

It seems that it was documented once (#482 (comment)):

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.

@clintongormley clintongormley added the >docs General docs changes label Aug 11, 2016
@biinari
Copy link

biinari commented Feb 23, 2017

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:

@kunisen
Copy link
Contributor

kunisen commented Jan 23, 2018

any updates here?

@colings86 colings86 added the :Search/Search Search-related issues that do not fall into other categories label Apr 24, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

cbuescher pushed a commit to cbuescher/elasticsearch that referenced this issue Oct 23, 2018
This change adds a section about the global search setting
`indices.query.bool.max_clause_count` that limits the number of boolean clauses
allowed in a Lucene BooleanQuery.

Closes elastic#19858
cbuescher pushed a commit that referenced this issue Oct 25, 2018
This change adds a section about the global search setting
`indices.query.bool.max_clause_count` that limits the number of boolean clauses
allowed in a Lucene BooleanQuery.

Closes #19858
cbuescher pushed a commit that referenced this issue Oct 25, 2018
This change adds a section about the global search setting
`indices.query.bool.max_clause_count` that limits the number of boolean clauses
allowed in a Lucene BooleanQuery.

Closes #19858
kcm pushed a commit that referenced this issue Oct 30, 2018
This change adds a section about the global search setting
`indices.query.bool.max_clause_count` that limits the number of boolean clauses
allowed in a Lucene BooleanQuery.

Closes #19858
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs General docs changes :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

No branches or pull requests

6 participants