[ 
https://issues.apache.org/jira/browse/SOLR-10963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16064714#comment-16064714
 ] 

ASF GitHub Bot commented on SOLR-10963:
---------------------------------------

GitHub user stefan-langenmaier opened a pull request:

    https://github.com/apache/lucene-solr/pull/214

    SOLR-10963 fix documentation for json format

    MultipleAdditiveTreesModel wants strings for all values

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stefan-langenmaier/lucene-solr 
SOLR-10963-fix-documentation-for-json-format

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/lucene-solr/pull/214.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #214
    
----
commit b3e51aa2706e3ec844c159f87f7d48653837796b
Author: Stefan Langenmaier <stefan.langenma...@shi-gmbh.com>
Date:   2017-06-27T11:52:40Z

    SOLR-10963 fix documentation for json format
    
    MultipleAdditiveTreesModel wants strings for all values

----


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

Reply via email to