You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Dariusz Wojtas <dw...@gmail.com> on 2017/12/27 19:01:21 UTC

SOLR 7.2 and LTR

Hi,

I am using SOLR 7.0 and use the ltr parser.
The configuration I use works nicely under SOLR 7.0.0.
I am trying to upgrade to 7.2.0 but whenever I want to use my handler, I
get an exception:
"rq parameter must be a RankQuery"

The exact response is:
<lst name="error">
<lst name="metadata">
<str name="error-class">org.apache.solr.common.SolrException</str>
<str name="root-error-class">org.apache.solr.common.SolrException</str>
</lst>
<str name="msg">rq parameter must be a RankQuery</str>
<intname="code">400</int>
</lst>


My rq param is:
<str name="rq">{!ltr reRankDocs=25 model=myModel}</str>

I have simplified the model (Linear) to contain only single feature
"originalScore".
Works under 7.0, but when I run it with 7.2 - error.

Any hints on this?