weiwang19 commented on code in PR #2046:
URL: https://github.com/apache/solr/pull/2046#discussion_r1408098257


##########
solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java:
##########
@@ -730,8 +732,11 @@ protected void regularFinishStage(ResponseBuilder rb) {
 
   protected void createDistributedStats(ResponseBuilder rb) {
     StatsCache cache = rb.req.getSearcher().getStatsCache();
-    if ((rb.getFieldFlags() & SolrIndexSearcher.GET_SCORES) != 0
-        || rb.getSortSpec().includesScore()) {
+    boolean disableDistribStats =

Review Comment:
   added getter in rb



-- 
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

Reply via email to