public TermsFacet AddTermFacet(string facetName, string field, int size = 10) { var item = new TermsFacetItem(); item.FacetName = facetName; item.Field = field; item.Size = size; facetItems.Add(item); return(this); }
public TermsFacet(string facetName, string field, int size = 10) { facetItems = new List <TermsFacetItem>(); var item = new TermsFacetItem(); item.FacetName = facetName; item.Field = field; item.Size = size; facetItems.Add(item); }
public TermsFacet AddTermFacet(string facetName, string field, int size = 10) { var item = new TermsFacetItem(); item.FacetName = facetName; item.Field = field; item.Size = size; facetItems.Add(item); return this; }
public TermsFacet(string facetName, string field, int size = 10) { facetItems = new List<TermsFacetItem>(); var item = new TermsFacetItem(); item.FacetName = facetName; item.Field = field; item.Size = size; facetItems.Add(item); }