/// <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); }
/// <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; }