Hi Mathew,

You can configure/increase this limit in solrconfig.xml
<maxBooleanClauses>...</maxBooleanClauses> or pass it to the jvm via the
SOLR_OPTS property (e.g. -Dsolr.max.booleanClauses=2000)

Hope this helps.

Thanks for pointing to this link.
By playing around with this property I needed to increase it to 10240 to
make the query work; values below resulted in the same error.


From the file solrconfig.xml from the config set:

<!-- Maximum number of clauses allowed when parsing a boolean query string.

     This limit only impacts boolean queries specified by a user as
part of a query string,
     and provides per-collection controls on how complex user specified
boolean queries can
     be.  Query strings that specify more clauses than this will result
in an error.
(...)


Considering this query string:

"q": "{!complexphrase inOrder=true}\"*1111 222222 33 4*\"~0"

it seems to me that it is quite simple, not really complex. Could you
explain how query expansion and/or rewriting works, especially in this
case so that the limit of 1024 clauses is passed?



Best regards

Thorsten

Reply via email to