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

Adrien Grand commented on LUCENE-8612:
--------------------------------------

Looks good. I'm wondering whether we should return NO_MORE_INTERVALS-1 if end() 
+ after is equal to NO_MORE_INTERVALS?

> 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
>
>
> 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]

Reply via email to