Cannot increase maxClauseCount

Hi,
i have created a docker container with elasticsearch 6.6.1
A query, that works on my server without any problems (version 6.2.4), doesn't work on in my docker container. I am getting this message:

"caused_by":{"type":"too_many_clauses","reason":"maxClauseCount is set to 1024"}}

I put the following setting into my elasticsearch.yml: indices.query.bool.max_clause_count: 20000
and i also upgraded the server to 6.6.2.

Is this is a bug or am i doing something wrong?

It has also been reported here:


This is indeed a bug. The fix is already merged and will be available in the next minor release (6.7.0), only 6.6.x is affected if you run the default distribution, the OSS distribution does not have the bug.

thats bad. Okay...
Thank you very much :slight_smile: