dweiss commented on pull request #634:
URL: https://github.com/apache/lucene/pull/634#issuecomment-1026796429


   I originally planned for this patch to kick in only when the number of 
clauses exceeds the threshold that would otherwise throw an exception - so 
better something that has no scores than nothing at all. This was brought to my 
attention because folks used those long lists of terms as exclusions/ inclusion 
filters in addition to more sane query criteria, something like:
   ```
   foo bar -(long OR long OR list OR of OR excluded OR terms)
   ```
   So it's in effect a filtering sub-clause that doesn't really need scores. 
I'm not saying it's the best way to solve the problem but it worked for the 
above. :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to