You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2015/01/24 17:25:35 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=14290695#comment-14290695 ]
Joel Bernstein commented on SOLR-6835:
--------------------------------------
Ok, I'll add error handling for this for 5.1.
> 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.1
>
>
> 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