[
https://issues.apache.org/jira/browse/LUCENE-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14521456#comment-14521456
]
Adrien Grand commented on LUCENE-6460:
--------------------------------------
+1
> 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: [email protected]
For additional commands, e-mail: [email protected]