コード例 #1
0
        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));
        }
コード例 #2
0
 public RangeRandomAccessDocIdSet(FacetRangeFilter parent)
 {
     this.parent = parent;
 }