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

ASF subversion and git services commented on LUCENE-8586:
---------------------------------------------------------

Commit 6ecd93c6939de8ca29ee2543bcfb3f5c8051357a in lucene-solr's branch 
refs/heads/branch_7x from [~romseygeek]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6ecd93c ]

LUCENE-8586: Fix infinite loop in Intervals.or()


> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to