Roopa,

Yes

> On Mar 19, 2019, at 11:51 AM, Roopa Rao <roop...@gmail.com> wrote:
> 
> Does your feature definitions and the feature names used in the model match?
> 
> On Tue, Mar 19, 2019 at 10:17 AM Amjad Khan <amjad2...@gmail.com> wrote:
> 
>> Yes, I did.
>> 
>> I can see the feature that I created by this
>> schema/feature-store/exampleFeatureStore and it return me the features I
>> created. But issue is when I try to put store-model.
>> 
>>> On Mar 19, 2019, at 12:18 AM, Mohomed Rimash <rim...@yaalalabs.com>
>> wrote:
>>> 
>>> Hi Amjad, After adding the libraries into the path, Did you restart the
>>> SOLR ?
>>> 
>>> On Tue, 19 Mar 2019 at 08:45, Amjad Khan <amjad2...@gmail.com> wrote:
>>> 
>>>> I followed the Solr LTR Documentation
>>>> 
>>>> https://lucene.apache.org/solr/guide/7_4/learning-to-rank.html <
>>>> https://lucene.apache.org/solr/guide/7_4/learning-to-rank.html>
>>>> 
>>>> 1. Added library into the solr-config
>>>> <!--LTR Start-->
>>>> <lib dir="${solr.install.dir:../../../..}/contrib/ltr/lib/"
>>>> regex=".*\.jar" />
>>>> <lib dir="${solr.install.dir:../../../..}/dist/"
>>>> regex="solr-ltr-\d.*\.jar" />
>>>> 2. Successfully added feature
>>>> 3. Get schema to see feature is available
>>>> 4. When I try to push model I see the error below, however I added the
>> lib
>>>> into solr-cofig
>>>> 
>>>> Response
>>>> {
>>>> "responseHeader":{
>>>>   "status":400,
>>>>   "QTime":1},
>>>> "error":{
>>>>   "metadata":[
>>>>     "error-class","org.apache.solr.common.SolrException",
>>>>     "root-error-class","java.lang.NullPointerException"],
>>>>   "msg":"org.apache.solr.ltr.model.ModelException: Model type does not
>>>> exist org.apache.solr.ltr.model.LinearModel",
>>>>   "code":400}}
>>>> 
>>>> Thanks
>> 
>> 

Reply via email to