[
https://issues.apache.org/jira/browse/SOLR-4586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14293855#comment-14293855
]
David Smiley commented on SOLR-4586:
------------------------------------
Instead of eliminating the limit on the Solr side, which Rob insists on
wielding is veto power to block, I propose here a low value -- a value low
enough that is very likely to be hit in testing/development before production
if BooleanQuery is being abused for cases where the TermsFilter (via terms
QParser) should be used. We can further add comments in solrconfig.xml that
the app is advised to use the "terms" qparser which is designed for large
number of terms -- BooleanQuery just plain isn't. I suggest 64 be the new low
limit. The app/user can decide if end-users shouldn't query with more than 64
terms and raise that number to what they feel is right. But machine-generated
queries shouldn't use BooleanQuery for such use-cases.
> Eliminate the maxBooleanClauses limit
> -------------------------------------
>
> Key: SOLR-4586
> URL: https://issues.apache.org/jira/browse/SOLR-4586
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 4.2
> Environment: 4.3-SNAPSHOT 1456767M - ncindex - 2013-03-15 13:11:50
> Reporter: Shawn Heisey
> Attachments: SOLR-4586.patch, SOLR-4586.patch, SOLR-4586.patch,
> SOLR-4586.patch, SOLR-4586.patch, SOLR-4586.patch,
> SOLR-4586_verify_maxClauses.patch
>
>
> In the #solr IRC channel, I mentioned the maxBooleanClauses limitation to
> someone asking a question about queries. Mark Miller told me that
> maxBooleanClauses no longer applies, that the limitation was removed from
> Lucene sometime in the 3.x series. The config still shows up in the example
> even in the just-released 4.2.
> Checking through the source code, I found that the config option is parsed
> and the value stored in objects, but does not actually seem to be used by
> anything. I removed every trace of it that I could find, and all tests still
> pass.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]