Beispiel #1
0
        /// <summary>
        /// Add a facet to perform as part of the search.
        /// </summary>
        /// <param name="facet"></param>
        /// <returns></returns>
        public SearchBuilder Facet(AbstractFacetBuilder facet)
        {
            if (_facets == null)
            {
                _facets = new List <AbstractFacetBuilder>();
            }

            _facets.Add(facet);
            return(this);
        }
Beispiel #2
0
        /// <summary>
        /// Add a facet to perform as part of the search.
        /// </summary>
        /// <param name="facet"></param>
        /// <returns></returns>
        public SearchBuilder Facet(AbstractFacetBuilder facet)
        {
            if (_facets == null)
            {
                _facets = new List<AbstractFacetBuilder>();
            }

            _facets.Add(facet);
            return this;
        }