[ https://issues.apache.org/jira/browse/LUCENE-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Woodward updated LUCENE-8586: ---------------------------------- Attachment: LUCENE-8586.patch > 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 > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org