Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-6835

ReRankQuery throws NullPointerException

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.9, 4.10, 4.10.2
    • Fix Version/s: 5.3, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. SOLR-6835.patch
          4 kB
          Shalin Shekhar Mangar
        2. SOLR-6835.patch
          3 kB
          Marius Grama

        Issue Links

          Activity

            People

            • Assignee:
              shalin Shalin Shekhar Mangar
              Reporter:
              sbp810050504 帅广应

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment