: Is there a hard upper limit for maxBooleanClauses? We have someone hitting a
limit at 64k clauses after upgrading to 9.x.
There are two limits, one per-collection in solrconfig.xml that applies
to query parsing, and one global in solr.xml that applies to every query
including query expansion that hapens during query rewrite -- but those
have both existed since at least 8.1
What did change in 9.0 is that the global limit now enforced recursively
(by Lucene's index searcher) ...
https://solr.apache.org/guide/solr/latest/upgrade-notes/major-changes-in-solr-9.html#querying-and-indexing-2
https://solr.apache.org/guide/solr/latest/configuration-guide/configuring-solr-xml.html#global-maxbooleanclauses
https://solr.apache.org/guide/solr/latest/configuration-guide/caches-warming.html#maxbooleanclauses-element
-Hoss
http://www.lucidworks.com/