You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by cp...@apache.org on 2024/03/04 14:14:27 UTC

(solr) 02/03: dev increment: hide FixedBitSetCollector's bit set implementation

This is an automated email from the ASF dual-hosted git repository.

cpoerschke pushed a commit to branch jira/solr-13350
in repository https://gitbox.apache.org/repos/asf/solr.git

commit 186228dde2f51f8b7a1f909d6fd724df8a254f25
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Mon Mar 4 14:11:36 2024 +0000

    dev increment: hide FixedBitSetCollector's bit set implementation
---
 solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
index bba34a9eca3..36e7874b846 100644
--- a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
+++ b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
@@ -2111,7 +2111,7 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable, SolrI
   }
 
   static class FixedBitSetCollector extends SimpleCollector {
-    final FixedBitSet bitSet;
+    private final FixedBitSet bitSet;
 
     private int docBase;
 
@@ -2133,6 +2133,10 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable, SolrI
     public ScoreMode scoreMode() {
       return ScoreMode.COMPLETE_NO_SCORES;
     }
+
+    FixedBitSet bitSet() {
+      return this.bitSet;
+    }
   }
 
   static class TopDocsResult {