Table of Contents

Class FacetGroupResult

Namespace
Dynamicweb.Indexing.Querying.Faceting
Assembly
Dynamicweb.Core.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

string

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

bool

GetFacetResults(string)

Gets the facet results.

public IList<FacetResult> GetFacetResults(string facetName)

Parameters

facetName string

Name of the facet.

Returns

IList<FacetResult>

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

object

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

object

SetMaxValue(string, object?)

Sets the maximum value for the given facet name.

public void SetMaxValue(string facetName, object? value)

Parameters

facetName string

Facet name to set maximum value for.

value object

The maximum value for the facet.

SetMinValue(string, object?)

Sets the minimum value for the given facet name.

public void SetMinValue(string facetName, object? value)

Parameters

facetName string

Facet name to set minimum value for.

value object

The minimum value for the facet.

To top