MCPcopy Create free account
hub / github.com/apache/solr / getDocSet

Method getDocSet

solr/core/src/test/org/apache/solr/search/TestDocSet.java:130–150  ·  view source on GitHub ↗
(FixedBitSet bs)

Source from the content-addressed store, hash-verified

128 }
129
130 public DocSet getDocSet(FixedBitSet bs) {
131 switch (rand.nextInt(9)) {
132 case 0:
133 case 1:
134 case 2:
135 case 3:
136 return getBitDocSet(bs);
137
138 case 4:
139 return getIntDocSet(bs);
140 case 5:
141 return getIntDocSet(bs);
142 case 6:
143 return getIntDocSet(bs);
144 case 7:
145 return getIntDocSet(bs);
146 case 8:
147 return getIntDocSet(bs);
148 }
149 return null;
150 }
151
152 public void checkEqual(FixedBitSet bs, DocSet set) {
153 for (int i = 0; i < set.size(); i++) {

Callers 1

doSingleMethod · 0.95

Calls 3

getBitDocSetMethod · 0.95
getIntDocSetMethod · 0.95
nextIntMethod · 0.80

Tested by

no test coverage detected