You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2009/09/24 17:03:16 UTC

[jira] Commented: (SOLR-1459) BoostedQuery needs to handle when its wrapped query weight returns null for the scorer

    [ https://issues.apache.org/jira/browse/SOLR-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759141#action_12759141 ] 

Yonik Seeley commented on SOLR-1459:
------------------------------------

Hmmm, yeah - related to LUCENE-1754
I've piggybacked on this to add a check to QueryValueSource too.

> BoostedQuery needs to handle when its wrapped query weight returns null for the scorer
> --------------------------------------------------------------------------------------
>
>                 Key: SOLR-1459
>                 URL: https://issues.apache.org/jira/browse/SOLR-1459
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>             Fix For: 1.4
>
>         Attachments: SOLR-1459.patch
>
>
> if the wrapped query matches no docs, it can return null for the scorer - if this happens, the first time nextDoc is called, BoostedQuery's CustomScorer will throw a NullPointerException on nextDoc()

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