[ https://issues.apache.org/jira/browse/SOLR-11163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112942#comment-16112942 ]
ASF subversion and git services commented on SOLR-11163: -------------------------------------------------------- Commit defefef87d78e86320bf178ac19f92a73f930277 in lucene-solr's branch refs/heads/branch_7x from [~cpoerschke] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=defefef ] SOLR-11163: Fix contrib/ltr Normalizer persistence after solr core reload or restart. (Yuki Yano via Christine Poerschke) > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org