public override RandomAccessDocIdSet GetRandomAccessDocIdSet(BoboIndexReader reader) { FacetDataCache latDataCache = _latFacetHandler.GetFacetData <FacetDataCache>(reader); FacetDataCache longDataCache = _longFacetHandler.GetFacetData <FacetDataCache>(reader); int[] latRange = FacetRangeFilter.Parse(latDataCache, _latRangeString); int[] longRange = FacetRangeFilter.Parse(longDataCache, _longRangeString); if ((latRange == null) || (longRange == null)) { return(null); } return(new GeoSimpleRandomAccessDocIdSet(latRange, longRange, latDataCache, longDataCache)); }
public RangeRandomAccessDocIdSet(FacetRangeFilter parent) { this.parent = parent; }