magibney commented on a change in pull request #2:
URL: https://github.com/apache/solr/pull/2#discussion_r593337561



##########
File path: solr/core/src/java/org/apache/solr/request/IntervalFacets.java
##########
@@ -292,16 +285,16 @@ private void getCountString() throws IOException {
           final SortedDocValues singleton = DocValues.unwrapSingleton(sub);
           if (singleton != null) {
             // some codecs may optimize SORTED_SET storage for single-valued 
fields
-            accumIntervalsSingle(singleton, disi, dis.bits());
+            accumIntervalsSingle(singleton, disi, docs.getBits(leaf));

Review comment:
       Yes, you're right! See [this 
comment](https://github.com/apache/solr/pull/2#discussion_r593335767).




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


Reply via email to