You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2015/04/04 18:22:36 UTC
[jira] [Comment Edited] (LUCENE-6393) SpanFirstQuery sometimes
returns Spans without any positions
[ https://issues.apache.org/jira/browse/LUCENE-6393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14395797#comment-14395797 ]
Paul Elschot edited comment on LUCENE-6393 at 4/4/15 4:22 PM:
--------------------------------------------------------------
Patch of 4 April 2015.
This removes the asTwoPhaseIterator method in FilterSpans.java and the @AwaitsFix lines in /TestSpanSearchEquivalence.
The patch also deletes TestFilterSpans, which only repeats checks already done by the compiler.
was (Author: paul.elschot@xs4all.nl):
Patch of 4 April 2015.
This removes the asTwoPhaseIterator method in FilterSpans.java and the @AwaitsFix lines in /TestSpanSearchEquivalence.
The patch also deletes TestFilterSpans, which only repeats checks done by the compiler does not do already.
> SpanFirstQuery sometimes returns Spans without any positions
> ------------------------------------------------------------
>
> Key: LUCENE-6393
> URL: https://issues.apache.org/jira/browse/LUCENE-6393
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Robert Muir
> Fix For: Trunk, 5.2
>
> Attachments: LUCENE-6393-alternative.patch, LUCENE-6393.patch, LUCENE-6393.patch
>
>
> This hits an assert in SpanScorer because it breaks the javadocs contract of Spans.nextStartPosition():
> * Returns the next start position for the current doc.
> * There is always *at least one start/end position* per doc.
> * After the last start/end position at the current doc this returns NO_MORE_POSITIONS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org