You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2015/04/30 14:49:06 UTC
[jira] [Created] (LUCENE-6460) TermsQuery should rewrite to
BooleanQuery if < 50 terms
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org