lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dariusz Wojtas (JIRA)" <>
Subject [jira] [Created] (SOLR-11809) LTR does not work under SOLR 7.2
Date Tue, 02 Jan 2018 21:11:00 GMT
Dariusz Wojtas created SOLR-11809:

             Summary: LTR does not work under SOLR 7.2
                 Key: SOLR-11809
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
    Affects Versions: 7.2
         Environment: Windows 10, java version "1.8.0_151"
            Reporter: Dariusz Wojtas

The LTR functionality that works under SOLR 7.0 and 7.1 stopped working in 7.2.
>From the solr-user mailing list it appears it might be related to SOLR-11501 .
I am attaching the minimal working collection definition (attached [^]) that
shows the problem.

Please deploy the collection (unpack under "server/solr"), run solr and invoke the URL below.

* under 7.0 and 7.1 - empty resultset is returned (there is no data in the collection)
* under 7.2 - error: "rq parameter must be a RankQuery". The stacktrace
2018-01-02 20:51:06.807 INFO  (qtp205125520-20) [   x:ltr-sample] o.a.s.c.S.Request [ltr-sample]
 webapp=/solr path=/select params={q=*:*&_=1514909140928} status=400 QTime=23
2018-01-02 21:04:27.293 ERROR (qtp205125520-17) [   x:ltr-sample] o.a.s.h.RequestHandlerBase
org.apache.solr.common.SolrException: rq parameter must be a RankQuery
	at org.apache.solr.handler.component.QueryComponent.prepare(
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(
	at org.apache.solr.core.SolrCore.execute(
	at org.apache.solr.servlet.HttpSolrCall.execute(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message