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

ReRankQuery throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.9, 4.10, 4.10.2
    • 5.3, 6.0
    • None
    • 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
          3 kB
          Marius Grama
        2. SOLR-6835.patch
          4 kB
          Shalin Shekhar Mangar

        Issue Links

          Activity

            People

              shalin Shalin Shekhar Mangar
              sbp810050504 帅广应
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: