[ 
https://issues.apache.org/jira/browse/LUCENE-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward resolved LUCENE-8586.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: master (8.0)
                   7.6

> Logic error in Intervals.or() can cause endless loop
> ----------------------------------------------------
>
>                 Key: LUCENE-8586
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8586
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>             Fix For: 7.6, master (8.0)
>
>         Attachments: LUCENE-8586.patch
>
>
> An intervals source of the following type:
> {code:java}
> IntervalsSource source = Intervals.ordered(
>   Intervals.or(Intervals.term("term1"), Intervals.term("term2")),
>   Intervals.term("term3")){code}
> can cause an infinite loop when queried, due to a bug in the 'no more 
> intervals' logic in DisjunctionIntervalIterator



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