Struct FacetLongField
Represents a long facet field
public readonly struct FacetLongField : IFacetField
- Implements
- Inherited Members
Constructors
FacetLongField(string, Int64Range[], string, bool)
public FacetLongField(string field, Int64Range[] longRanges, string facetField, bool isTaxonomyIndexed = false)
Parameters
field
stringlongRanges
Int64Range[]facetField
stringisTaxonomyIndexed
bool
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
LongRanges
The long ranges
public Int64Range[] LongRanges { get; }
Property Value
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