[ https://issues.apache.org/jira/browse/SOLR-6835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-6835: ---------------------------------------- Attachment: SOLR-6835.patch Thanks Marius. This patch changes the SyntaxError to a SolrException with a BAD_REQUEST code. I'll commit shortly. > 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org