Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.9
-
None
-
None
Description
The implementation of MultiTermQuery in terms of BooleanQuery introduces several problems:
1) Collisions with maximum clause limit on boolean queries which throws an exception. This is most problematic because it is difficult to ascertain in advance how many terms a fuzzy query or wildcard query might involve.
2) The boolean disjunctive scoring is not appropriate for either fuzzy or wildcard queries. In effect the score is divided by the number of terms in the query which has nothing to do with the relevancy of the results.
3) Performance of disjunctive boolean queries for large term sets is quite sub-optimal
Attachments
Attachments
Issue Links
- relates to
-
LUCENE-1424 Change all multi-term querys so that they extend MultiTermQuery and allow for a constant score mode
- Closed