thelabdude commented on a change in pull request #2132:
URL: https://github.com/apache/lucene-solr/pull/2132#discussion_r554055360



##########
File path: 
solr/solrj/src/java/org/apache/solr/client/solrj/io/stream/FacetStream.java
##########
@@ -842,10 +881,99 @@ public int getCost() {
 
   @Override
   public StreamComparator getStreamSort() {
-    if(bucketSorts.length > 1) {
-      return new MultipleFieldComparator(bucketSorts);
+    return (bucketSorts.length > 1) ? new MultipleFieldComparator(bucketSorts) 
: bucketSorts[0];
+  }
+
+  @Override

Review comment:
       Implementation of the `ParallelMetricsRollup` interface starts here ...




----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to