lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Keegan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1986) NPE in NearSpansUnordered from PayloadNearQuery
Date Mon, 19 Oct 2009 16:33:59 GMT

    [ 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


Mime
View raw message