You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Adrien Grand (JIRA)" <ji...@apache.org> on 2015/05/20 11:01:00 UTC
[jira] [Closed] (LUCENE-6460) TermsQuery should rewrite to
BooleanQuery if < 50 terms
[ https://issues.apache.org/jira/browse/LUCENE-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand closed LUCENE-6460.
--------------------------------
Resolution: Duplicate
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org