Table of Contents

Struct FacetDoubleField

Namespace
Examine.Lucene.Search
Assembly
Examine.Lucene.dll

Represents a double facet field

public readonly struct FacetDoubleField : IFacetField
Implements
Inherited Members

Constructors

FacetDoubleField(string, DoubleRange[], string, bool)

public FacetDoubleField(string field, DoubleRange[] doubleRanges, string facetField, bool isTaxonomyIndexed = false)

Parameters

field string
doubleRanges DoubleRange[]
facetField string
isTaxonomyIndexed bool

Properties

DoubleRanges

The double ranges for the field

public DoubleRange[] DoubleRanges { get; }

Property Value

DoubleRange[]

FacetField

The field to get the facet field from

public string FacetField { get; }

Property Value

string

Field

The field name

public string Field { get; }

Property Value

string

IsTaxonomyIndexed

Whether this field is indexed in the Taxonomy index

public bool IsTaxonomyIndexed { get; }

Property Value

bool

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