Class FacetFullTextField
Represents a full text facet field
public class FacetFullTextField : IFacetField
- Inheritance
-
FacetFullTextField
- Implements
- Inherited Members
Constructors
FacetFullTextField(string, string[], string, int, string[]?, bool)
public FacetFullTextField(string field, string[] values, string facetField, int maxCount = 10, string[]? path = null, bool isTaxonomyIndexed = false)
Parameters
Properties
FacetField
The field to get the facet field from
public string FacetField { get; }
Property Value
Field
The field name
public string Field { get; }
Property Value
IsTaxonomyIndexed
Whether this field is indexed in the Taxonomy index
public bool IsTaxonomyIndexed { get; }
Property Value
MaxCount
Maximum number of terms to return
public int MaxCount { get; }
Property Value
Path
Path hierachy
public string[]? Path { get; }
Property Value
- string[]
Values
Filter values
public string[] Values { get; }
Property Value
- string[]
Methods
ExtractFacets(IFacetExtractionContext)
Extracts the facets from the field
public IEnumerable<KeyValuePair<string, IFacetResult>> ExtractFacets(IFacetExtractionContext facetExtractionContext)
Parameters
facetExtractionContext
IFacetExtractionContext
Returns
- IEnumerable<KeyValuePair<string, IFacetResult>>
Returns the facets for this field