197198199200201202203204205206207
if (index>=0) { list.add(index); } } return list.toIntArray(); } /** * Same as convert(FacetDataCache dataCache,String[] vals) except * that the values are supplied in raw form so that we can take
221222223224225226227228229230231
if (index>=0) { list.add(index); } } return list.toIntArray(); } public static class FacetDocComparatorSource extends DocComparatorSource{ private FacetHandler<FacetDataCache> _facetHandler; public FacetDocComparatorSource(FacetHandler<FacetDataCache> facetHandler){
187188189190191192193194195196197
int index = dataCache.valArray.indexOf(vals[i]); if (index >= 0) { list.add(index); } } return list.toIntArray(); } /** * Same as convert(FacetDataCache dataCache,String[] vals) except that the * values are supplied in raw form so that we can take advantage of the type
209210211212213214215216217218219
int index = dataCache.valArray.indexOfWithType(vals[i]); if (index >= 0) { list.add(index); } } return list.toIntArray(); } public static class FacetDocComparatorSource extends DocComparatorSource { private final FacetHandler<FacetDataCache<?>> _facetHandler;
161162163164165166167168169170171
for (int i = range[0]; i <= range[1]; ++i) { list.add(i); } } } return list.toIntArray(); } public static int[] parse(FacetDataCache<?> dataCache, String rangeString) { String[] ranges = getRangeStrings(rangeString); String lower = ranges[0];
218219220221222223224225226227228
240241242243244245246247248249250