[ https://issues.apache.org/jira/browse/SOLR-6835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marius Grama updated SOLR-6835: ------------------------------- Attachment: SOLR-6835.patch Attached patch containing error handling and unit test for testing the change. > 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: Trunk, 5.2 > > Attachments: 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