Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
New
Description
On the user list, saar32 asked about a new type of SpanQuery that would allow for something like BooleanQuery's minimumNumberShouldMatch
Given a set of search terms (t1, t2, t3, ti), return all documents where in a sequence of x=10 tokens at least c=3 of the search terms appear within the sequence.
I think we can modify SpanNearQuery fairly easily to accommodate this. I'll submit a PR in the next few days.
Attachments
Attachments
Issue Links
- duplicates
-
LUCENE-3369 SpanNearQuery add setMinimumNumberShouldMatch method
- Closed
- links to