mkhludnev commented on code in PR #1260: URL: https://github.com/apache/solr/pull/1260#discussion_r1113304963
########## solr/core/src/test/org/apache/solr/handler/component/DistributedMLTComponentTest.java: ########## @@ -389,5 +389,29 @@ public void test() throws Exception { Long actual = ((SolrDocumentList) entry.getValue()).getNumFound(); assertEquals("MLT mismatch for id=" + key, expected, actual); } + // test boost mlt.qf + query( + "q", + "lowerfilt:moon", + "fl", + id, + MoreLikeThisParams.MIN_TERM_FREQ, + 2, + MoreLikeThisParams.MIN_DOC_FREQ, + 1, + "sort", + "id_i1 desc", + "mlt", + "true", + "mlt.fl", + "lowerfilt1,lowerfilt", + "mlt.qf", + "lowerfilt1^1.2 lowerfilt^3.4", + "qt", + requestHandlerName, + "shards.qt", + requestHandlerName, + "mlt.count", + "20"); Review Comment: It boils down to org.apache.solr.BaseDistributedSearchTestCase#query(boolean, org.apache.solr.common.params.SolrParams) which compares distributed and standalone responses. // ..so, if both of them returns nothing, it's perfectly fine ;) -- 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. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org