You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Christine Poerschke (JIRA)" <ji...@apache.org> on 2017/07/28 16:46:00 UTC

[jira] [Updated] (SOLR-10963) Sample model json format for MultipleAdditiveTreesModel is incorrect

     [ https://issues.apache.org/jira/browse/SOLR-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christine Poerschke updated SOLR-10963:
---------------------------------------
    Component/s: contrib - LTR

> 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) 
>          Components: contrib - LTR
>    Affects Versions: 6.4, 6.4.1, 6.4.2, 6.5, 6.5.1, 6.6
>            Reporter: Stefan Langenmaier
>            Assignee: Christine Poerschke
>             Fix For: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org