[
https://issues.apache.org/jira/browse/SOLR-11163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christine Poerschke updated SOLR-11163:
---------------------------------------
Attachment: SOLR-11163.patch
Hello [~yuyano] - thanks for identifying this problem and creating a patch to
fix it. I have separated out your {{TestModelManagerPersistence}} improvements
into SOLR-11187 and attaching here slightly revised
{{Test(MinMax|Standard)Normalizer}} changes i.e. in the
{{implTest(MinMax|Standard)}} method some {{\"}} quotes needed removing to make
all the tests pass again.
> 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
> Assignee: Christine Poerschke
> Attachments: SOLR-11163.patch, 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: [email protected]
For additional commands, e-mail: [email protected]