ES ignores index.query.bool.max_clause_count in elasticsearch.yml

It seems to me that ES ignores the index.query.bool.max_clause_count
argument in elasticsearch.yml

Setting index.query.bool.max_clause_count: 5000 results in the following
error:

Caused by: org.apache.lucene.search.BooleanQuery$TooManyClauses:
maxClauseCount is set to 1024

Any solution whats going wrong here?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ddedd43b-9f1c-4373-9280-671d7cc828a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.