Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
-
New
Description
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.
Attachments
Issue Links
- duplicates
-
LUCENE-6360 TermsQuery should rewrite to a ConstantScoreQuery over a BooleanQuery when there are few terms
- Closed