8081828384858687888990
if (!idSet.contains(docid) && !reader.isDeleted(docid)) { idSet.add(docid); } } docsToFetch = idSet.toIntArray(); } @Override public void run() { for (int i = 0; i < _numIter; ++i) {
199200201202203204205206207208209
} public int[] convert(FacetDataCache dataCache, String[] vals) { IntSet intSet = new IntOpenHashSet(); getFilters(dataCache,intSet,vals, _depth, _strict); return intSet.toIntArray(); } }
209210211212213214215216217218219
400401402403404405406407408409410
} catch (Exception e) { throw new ConfigurationException( "Error parsing '" + SENSEI_PROPERTIES + "': " + PARTITIONS + "=" + Arrays.toString(partitionArray), e); } int[] ret = partitions.toIntArray(); Arrays.sort(ret); return ret; } public SenseiCore buildCore() throws ConfigurationException {
181182183184185186187188189190191
@Override public int[] convert(FacetDataCache<String> dataCache, String[] vals) { IntSet intSet = new IntOpenHashSet(); getFilters(dataCache, intSet, vals, _depth, _strict); return intSet.toIntArray(); } } @Override