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

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

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: 6.6
    • Fix Version/s: 7.0, 8.0
    • Component/s: contrib - LTR
    • 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

        Issue Links

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              yuyano Yuki Yano

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment