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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6
    • Fix Version/s: 7.0, master (8.0)
    • Component/s: contrib - LTR
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: