mkhludnev commented on code in PR #2299:
URL: https://github.com/apache/solr/pull/2299#discussion_r1501808755


##########
solr/core/src/test/org/apache/solr/search/stats/TestDistribIDF.java:
##########
@@ -300,20 +299,20 @@ public void testDisableDistribStats() throws Exception {
     assertNotNull("stats cache hit", track.get("PARSE_QUERY"));
 
     // distributed stats explicitly disabled
-    query.set(CommonParams.DISTRIB_STATS_CACHE, "false");
-    query.set(CommonParams.Q, "{!terms f=id}1,2");
+    query.set("distrib.statsCache", "false");

Review Comment:
   @weiwang19 here's a separate thing. We prefer to inline constants in tests, 
to enforce API backward compatibility.  



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to