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

Diego Ceccarelli commented on SOLR-11137:
-----------------------------------------

[~alessandro.benedetti] It looks good to me: 

If you ask for a model that doesn't exist, you get an error here: 
[https://github.com/apache/lucene-solr/blob/227ef3b39798d00c006539c9bee0e57db34c2871/solr/contrib/ltr/src/java/org/apache/solr/ltr/search/LTRQParserPlugin.java#L180

]Otherwise your PR returns an error that is not misleading. I'll mark as 
resolved.  

> LTR: misleading error message when loading a model
> --------------------------------------------------
>
>                 Key: SOLR-11137
>                 URL: https://issues.apache.org/jira/browse/SOLR-11137
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - LTR
>            Reporter: Diego Ceccarelli
>            Priority: Minor
>
> Loading a model can fail for several reasons when calling the model 
> constructor, but the error message always reports that the Model type does 
> not exist.
> https://github.com/apache/lucene-solr/blob/master/solr/contrib/ltr/src/java/org/apache/solr/ltr/model/LTRScoringModel.java#L103



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to