Hi all,
I'm trying to upload the most simple model to solr 7.3.1 and i get an error:

the model:

{
   "class" : "org.apache.solr.ltr.model.MultipleAdditiveTreesModel",
   "name" : "my",
   "features":[],
   "params" : {
       "trees" : [
           {
               "weight" : 1,
               "root" : {
                   "value" : -10
               }} ]}}
           
The error:
  "error":{
    "metadata":[
      "error-class","org.apache.solr.common.SolrException",
      "root-error-class","java.lang.IllegalArgumentException"],
    "msg":"org.apache.solr.ltr.model.ModelException: Model type does not
exist org.apache.solr.ltr.model.MultipleAdditiveTreesModel",
    "code":400}}


I inserted the configurations to solrconfig.xml like
  <lib dir="${solr.install.dir:../../../..}/contrib/langid/lib/"
regex=".*\.jar" />
and started solr using   -Dsolr.ltr.enabled=true 

please help me 
Thanks you all ;)



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

Reply via email to