[
https://issues.apache.org/jira/browse/LUCENE-8586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16708503#comment-16708503
]
ASF subversion and git services commented on LUCENE-8586:
---------------------------------------------------------
Commit c78429a554d28611dacd90c388e6c34039b228d1 in lucene-solr's branch
refs/heads/master from [~romseygeek]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c78429a ]
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: [email protected]
For additional commands, e-mail: [email protected]