Ejemplo n.º 1
0
            public override IFacetCountCollector GetFacetCountCollector(BoboIndexReader reader, int docBase)
            {
                FacetDataCache dataCache = _parent.GetFacetData <FacetDataCache>(reader);

                if (_multiValue)
                {
                    return(new MultiValuedPathFacetCountCollector(_name, _separator, _sel, _ospec, dataCache));
                }
                else
                {
                    return(new PathFacetCountCollector(_name, _separator, _sel, _ospec, dataCache));
                }
            }
Ejemplo n.º 2
0
            public override IFacetCountCollector GetFacetCountCollector(BoboSegmentReader reader, int docBase)
            {
                FacetDataCache dataCache = m_parent.GetFacetData <FacetDataCache>(reader);

                if (m_multiValue)
                {
                    return(new MultiValuedPathFacetCountCollector(m_name, m_separator, m_sel, m_ospec, dataCache));
                }
                else
                {
                    return(new PathFacetCountCollector(m_name, m_separator, m_sel, m_ospec, dataCache));
                }
            }