[ 
https://issues.apache.org/jira/browse/LUCENE-8422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591393#comment-16591393
 ] 

Adrien Grand commented on LUCENE-8422:
--------------------------------------

I see how putting the logic in IntervalIterator makes matches easier to 
implement, but I like it less in terms of API. For instance I wish that we 
wouldn't need to add a new parameter to IntervalsSource#intervals and new 
methods to IntervalIterator to implement this change. I haven't though about it 
much but since intervals seems to be a subset of MatchesIterator, I'm wondering 
that we might be able to pull matches iterators from sub clauses and wrap them 
as intervals in order to be able to reuse the function that selects matches?

> Add Matches iteration to interval queries
> -----------------------------------------
>
>                 Key: LUCENE-8422
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8422
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>         Attachments: LUCENE-8422.patch
>
>
> Follow up to LUCENE-8404, we can now add Matches iteration to interval 
> queries in the sandbox.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to