[
https://issues.apache.org/jira/browse/SOLR-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christine Poerschke resolved SOLR-10963.
----------------------------------------
Resolution: Fixed
Fix Version/s: 6.7
master (7.0)
Thanks [~stefan.langenmaier]!
> Sample model json format for MultipleAdditiveTreesModel is incorrect
> --------------------------------------------------------------------
>
> Key: SOLR-10963
> URL: https://issues.apache.org/jira/browse/SOLR-10963
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Stefan Langenmaier
> Assignee: Christine Poerschke
> Fix For: master (7.0), 6.7
>
> Attachments: SOLR10963-fix-documentation-for-json-format.patch
>
>
> When I try to use the example json file in the javadoc of
> MultipleAdditiveTreesModel.java I receive the following error:
> {{org.apache.solr.ltr.model.ModelException: Model type does not exist
> org.apache.solr.ltr.model.MultipleAdditiveTreesModel}}
> The sample model from the
> [documentation|https://lucene.apache.org/solr/guide/6_6/learning-to-rank.html#LearningToRank-Examples]
> is working. The difference seems to be the quoted numbers. I can confirm
> that once quoted I no longer have the problem and the setter methods all
> expect Strings.
> It's a little bit confusing as this error message does not really pin down
> the root of the problem.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]