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

Alan Woodward commented on LUCENE-8612:
---------------------------------------

One thing I haven't added here but that we may want to think about is combining 
the 'before' count with a positional filter, so that a 
{{Intervals.extend(Intervals.term("b", 10, 0))}} won't match any instances of 
{{b}} that appear before position 10.

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