Hi all,

Is it possible to give path of model file trained by Ranklib directly to
Solr 7.0.0 without converting that model to json. 

I try to upload Solr Model as below example, I saw the param "model-file"
given this link 
http://lucene.472066.n3.nabble.com/jira-Comment-Edited-SOLR-8542-Integrate-Learning-to-Rank-into-Solr-td4251260.html
<http://lucene.472066.n3.nabble.com/jira-Comment-Edited-SOLR-8542-Integrate-Learning-to-Rank-into-Solr-td4251260.html>
  
. Appearently it does not work such this configuration. Is there any support
given external file with param or requiring json converter?

{
    "class":"org.apache.solr.ltr.model.MultipleAdditiveTreesModel",
    "name":"ranklib-model",
    "features":[
    {"name":"contentMatch"},
    {"name":"originalScores"},
    {"name":"titleMatch"}
    ],
    "params":{
                "model-file":"test_data.xml"       
    }
}

Bests,

isspek



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to