[
https://issues.apache.org/jira/browse/SOLR-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064770#comment-16064770
]
ASF subversion and git services commented on SOLR-10963:
--------------------------------------------------------
Commit c9186417336934bbe6d854454f6a00f4124316e2 in lucene-solr's branch
refs/heads/branch_6x from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c918641 ]
SOLR-10963: Fix example json in MultipleAdditiveTreesModel javadocs. (Stefan
Langenmaier via Christine Poerschke)
> 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
> 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]