You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/06/11 16:37:02 UTC

[jira] [Resolved] (SOLR-6835) ReRankQuery throws NullPointerException

     [ https://issues.apache.org/jira/browse/SOLR-6835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-6835.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 5.2)
                   5.3
         Assignee: Shalin Shekhar Mangar  (was: Joel Bernstein)

> ReRankQuery throws NullPointerException
> ---------------------------------------
>
>                 Key: SOLR-6835
>                 URL: https://issues.apache.org/jira/browse/SOLR-6835
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.9, 4.10, 4.10.2
>            Reporter: 帅广应
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 5.3, Trunk
>
>         Attachments: SOLR-6835.patch, SOLR-6835.patch
>
>
> when I use ReRankQParserPlugin, I found if I leave reRankQuery paramter to null,then Solr will throw NullPointerException in ReRankQuery.hashCode() method. If reRankQuery parameter should not be null, It should be intercepted in ReRankQParser.parser() method to make it clear for users.



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