Re: LTR not able to upload org.apache.solr.ltr.model.MultipleAdditiveTreesModel

2018-03-22 Thread Roopa Rao
Here is the stacktrace Caused by: org.apache.solr.common.SolrException: Failed to create new ManagedResource /schema/model-store of type org.apache.solr.ltr.store.rest.ManagedModelStore due to: org.apache.solr.common.SolrException: org.apache.solr.ltr.model.ModelException: Model type does not

Re: LTR not able to upload org.apache.solr.ltr.model.MultipleAdditiveTreesModel

2018-03-14 Thread Alessandro Benedetti
This is the piece of code involved : "try { // create an instance of the model model = solrResourceLoader.newInstance( className, LTRScoringModel.class, new String[0], // no sub packages new Class[] { String.class, List.class, List.class,

Re: LTR not able to upload org.apache.solr.ltr.model.MultipleAdditiveTreesModel

2018-03-14 Thread Roopa Rao
Hi Alessandro, I figured the issue, the model was using a feature which was not in the features file. The error was very generic so was hard to find this. Thank you, Roopa On Wed, Mar 14, 2018 at 7:16 AM, Alessandro Benedetti wrote: > Hi Roopa, > that model changed name

Re: LTR not able to upload org.apache.solr.ltr.model.MultipleAdditiveTreesModel

2018-03-14 Thread Alessandro Benedetti
Hi Roopa, that model changed name few times, which Apache Solr version are you using ? It is very likely you are using a class name not in sync with your Apache Solr version. Regards - --- Alessandro Benedetti Search Consultant, R Software Engineer, Director Sease Ltd. -

LTR not able to upload org.apache.solr.ltr.model.MultipleAdditiveTreesModel

2018-03-07 Thread Roopa Rao
Trying to upload a simple MultipleAdditiveTreesModel, however I am getting an error "msg":"org.apache.solr.ltr.model.ModelException: Model type does not exist org.apache.solr.ltr.model.MultipleAdditiveTreesModel" Root cause seems to be a syntax error in the model file? I did copy this from the