[
https://issues.apache.org/jira/browse/LUCENE-8622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16726858#comment-16726858
]
Alan Woodward commented on LUCENE-8622:
---------------------------------------
Attached is a patch containing a MinimumShouldMatchIntervalIterator, currently
available via {{Intervals.atLeast}}. As well as being useful for these type of
queries, I think this would also be handy for building a proximity boosting
query, by iterating over subspans of a set of terms as a sort of very crude
query segmentation.
> Add a MinimumShouldMatch interval iterator
> ------------------------------------------
>
> Key: LUCENE-8622
> URL: https://issues.apache.org/jira/browse/LUCENE-8622
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Attachments: LUCENE-8622.patch
>
>
> It would be useful to be able to search for intervals that span some subgroup
> of a set of iterators, allowing us to build a 'some of ' or 'at least'
> operator - ie, search for terms that appear near at least 3 of a list of 5
> terms.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]