Allow limits on SpanMultiTermQueryWrapper expansion [LUCENE-6513]
Open
legacy-jira-priority:Minor
type:enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
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.
---
Migrated from [LUCENE-6513](https://issues.apache.org/jira/browse/LUCENE-6513) by Alan Woodward (@romseygeek), 1 vote, updated Nov 15 2019
Attachments: [LUCENE-6513.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-6513/LUCENE-6513.patch) (versions: 5)
Linked issues:
- #9331
- #10026
Contributor guide
Assessment
This issue has not been assessed yet.