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

Normalizer fails to restore itself when reload or restart solr cores.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6
    • 7.0, 8.0
    • contrib - LTR
    • None

    Description

      Normalizer fails to restore itself from json file of its parameters when reload or restart solr cores.
      This is because Normalizer#paramsToMap generates Map of parameters with double quoted like below:

      {
        "min": "\"0.0\"",
        "max": "\"1.0\""
      }
      

      With the example above, Normalizer#newInstance fails to invoke setters due to the failure of Float#parseFloat("\"0.0\"").

      Attachments

        1. SOLR-11163.patch
          4 kB
          Christine Poerschke
        2. SOLR-11163.patch
          9 kB
          Yuki Yano

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              yuyano Yuki Yano
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: