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

Christine Poerschke updated SOLR-10963:
---------------------------------------
    Affects Version/s: 6.4
                       6.4.1
                       6.4.2
                       6.5
                       6.5.1
                       6.6

> 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) 
>    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: 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to