You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Keegan (JIRA)" <ji...@apache.org> on 2009/10/19 18:33:59 UTC

[jira] Commented: (LUCENE-1986) NPE in NearSpansUnordered from PayloadNearQuery

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

Peter Keegan commented on LUCENE-1986:
--------------------------------------

+      if (!more) {
+        return false;
+      }
I was about to submit this same patch today, but I see you beat me to it :) Thanks Mark.

> NPE in NearSpansUnordered from PayloadNearQuery
> -----------------------------------------------
>
>                 Key: LUCENE-1986
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1986
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Search
>    Affects Versions: 2.9
>            Reporter: Peter Keegan
>            Assignee: Michael McCandless
>             Fix For: 2.9.1, 3.0
>
>         Attachments: LUCENE-1986.patch, LUCENE-1986.patch, TestPayloadNearQuery1.java
>
>
> The following query causes a NPE in NearSpansUnordered, and is reproducible with the the attached unit test. The failure occurs on the last document scored.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org