tomglk commented on a change in pull request #151:
URL: https://github.com/apache/solr/pull/151#discussion_r642354048
##########
File path: solr/contrib/ltr/src/test/org/apache/solr/ltr/TestLTROnSolrCloud.java
##########
@@ -70,6 +72,63 @@ public void tearDown() throws Exception {
super.tearDown();
}
+ @Test
+ public void testSimpleQueryCustomSort() throws Exception {
+ SolrQuery query = new SolrQuery("*:*");
+ query.setRequestHandler("/query");
+ query.setFields("*,score,[shard]");
Review comment:
We fixed it by adding the `GET_SCORES` flag to the rb when reRanking is
enabled. (see f3ccac9)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]