Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
New
Description
SpanMultiTermQueryWrapper currently rewrites to a SpanOrQuery with as many clauses as there are matching terms. It would be nice to be able to limit this in a slightly nicer way than using TopTerms, which for most queries just translates to a lexicographical ordering.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-8983 PhraseWildcardQuery - new query to control and optimize wildcard expansions in phrase
- Closed
- relates to
-
LUCENE-8284 Add MultiTermsIntervalsSource
- Patch Available
Patch. This adds a FrequentTerms rewrite to SpanMTQWrapper, which will rewrite the query using the terms with highest term frequencies.