David Smiley created LUCENE-6460:
------------------------------------

             Summary: TermsQuery should rewrite to BooleanQuery if < 50 terms
                 Key: LUCENE-6460
                 URL: https://issues.apache.org/jira/browse/LUCENE-6460
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
            Reporter: David Smiley
            Priority: Minor


If there aren't many terms in a TermsQuery (perhaps 50), it should be faster 
for TermsQuery to rewrite to a BooleanQuery so that there is 
disjunction/skipping.  Above some number of terms, there is overhead in 
BQ/DisjunctionScorer's PriorityQueue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to