Stefan Langenmaier created SOLR-10963:
-----------------------------------------
Summary: 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
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]