[
https://issues.apache.org/jira/browse/LUCENE-8612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728415#comment-16728415
]
Alan Woodward commented on LUCENE-8612:
---------------------------------------
> I'm wondering whether we should return NO_MORE_INTERVALS-1 if end() + after
> is equal to NO_MORE_INTERVALS?
+1, I added a test
> Add the ability to enforce gaps between intervals
> -------------------------------------------------
>
> Key: LUCENE-8612
> URL: https://issues.apache.org/jira/browse/LUCENE-8612
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Attachments: LUCENE-8612.patch, LUCENE-8612.patch, LUCENE-8612.patch,
> LUCENE-8612.patch
>
>
> At the moment you can search for intervals with a maximum number of positions
> between them, but you cannot enforce gaps. It would be useful to be able to
> search for `a b [2 spaces] c`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]