Class FacetGroupResult
- Namespace
- Dynamicweb.Indexing.Querying.Faceting
- Assembly
- Dynamicweb.Indexing.dll
The Class FacetGroupResult represents query result for a facet group
public class FacetGroupResult
- Inheritance
-
FacetGroupResult
- Inherited Members
Constructors
FacetGroupResult()
Initialize new instance of facet group result
public FacetGroupResult()
Properties
FacetGroupName
Gets or sets name of related facet group
public string FacetGroupName { get; set; }
Property Value
Methods
AddFacetResult(string, FacetResult)
Adds the facet result to the list of facet results for the given facet name.
public void AddFacetResult(string facetName, FacetResult facetResult)
Parameters
facetName
string- Name of the facet.
facetResult
FacetResult- The facet result.
ContainsFacetResults(string)
Determines whether a set of facet results exist for the specified facet name.
public bool ContainsFacetResults(string facetName)
Parameters
facetName
string- Name of the facet.
Returns
GetFacetResults(string)
Gets the facet results.
public IList<FacetResult> GetFacetResults(string facetName)
Parameters
facetName
string- Name of the facet.
Returns
GetMaxValue(string)
Gets the maximum value for the given facet name.
public object GetMaxValue(string facetName)
Parameters
facetName
string- Facet name to get maximum value for.
Returns
GetMinValue(string)
Gets the minimum value for the given facet name.
public object GetMinValue(string facetName)
Parameters
facetName
string- Facet name to get minimum value for.
Returns
SetMaxValue(string, object)
Sets the maximum value for the given facet name.
public void SetMaxValue(string facetName, object value)
Parameters
SetMinValue(string, object)
Sets the minimum value for the given facet name.
public void SetMinValue(string facetName, object value)