[ https://issues.apache.org/jira/browse/SOLR-11163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Yano updated SOLR-11163: ----------------------------- 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: {code:JavaScript} { "min": "\"0.0\"", "max": "\"1.0\"" } {code} With the example above, Normalizer#newInstance fails to invoke setters due to the failure of Float#parseFloat("\"0.0\""). was: 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: {code:JavaScript} "min": "\"0.0\"", "min": "\"1.0\"" {code} With the example above, Normalizer#newInstance fails to invoke setters due to the failure of Float#parseFloat("\"0.0\""). > Normalizer fails to restore itself when reload or restart solr cores. > --------------------------------------------------------------------- > > Key: SOLR-11163 > URL: https://issues.apache.org/jira/browse/SOLR-11163 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: contrib - LTR > Affects Versions: 6.6 > Reporter: Yuki Yano > Attachments: SOLR-11163.patch > > > 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: > {code:JavaScript} > { > "min": "\"0.0\"", > "max": "\"1.0\"" > } > {code} > With the example above, Normalizer#newInstance fails to invoke setters due to > the failure of Float#parseFloat("\"0.0\""). -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org