You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/11 16:36:00 UTC

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

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

ASF subversion and git services commented on SOLR-6835:
-------------------------------------------------------

Commit 1684904 from shalin@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1684904 ]

SOLR-6835: ReRankQueryParserPlugin checks now whether the reRankQuery parameter is present and not empty

> 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: Joel Bernstein
>             Fix For: 5.2, 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