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 "Mark Miller (JIRA)" <ji...@apache.org> on 2009/09/24 15:42:16 UTC

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

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
             Fix For: 1.4


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.


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-1459.
-------------------------------

    Resolution: Fixed
      Assignee: Mark Miller

> 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.


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

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-1459:
------------------------------

    Attachment: SOLR-1459.patch

> 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
>             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.