Ability to set maxClauseCount for cli image
We have a query that needs to filter by a long list of ids.
I get the error: “Query contains too many nested clauses; maxClauseCount is set to 1024”
This error does not happen in M10+ cluster because the lucene maxClauseCount seems to be higher there.
It would be great to be able to set the maxClauseCount of lucene with an env var so we can test this.
-
Colin commented
I am developing a web app that includes Atlas search and putting together a query as 5 words treated as ANDs results in the "Query contains too many nested clauses; maxClauseCount is set to 1024" error. I have built the $search with "compound" and a "must" for each word, as I have read as best practices. For my application this is pretty basic use and it is disappointing to run into such a limitation for local development environments