Table of Contents

Class LuceneFacetExtractionContext

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

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class LuceneFacetExtractionContext : IFacetExtractionContext
Inheritance
LuceneFacetExtractionContext
Implements
Inherited Members

Constructors

LuceneFacetExtractionContext(FacetsCollector, ISearcherReference, FacetsConfig)

public LuceneFacetExtractionContext(FacetsCollector facetsCollector, ISearcherReference searcherReference, FacetsConfig facetConfig)

Parameters

facetsCollector FacetsCollector
searcherReference ISearcherReference
facetConfig FacetsConfig

Properties

FacetConfig

Facet Configuration

public FacetsConfig FacetConfig { get; }

Property Value

FacetsConfig

FacetsCollector

Facet Collector

public FacetsCollector FacetsCollector { get; }

Property Value

FacetsCollector

SearcherReference

Index Searcher Reference

public ISearcherReference SearcherReference { get; }

Property Value

ISearcherReference

Methods

GetFacetCounts(string, bool)

Get the facet counts for the faceted field

public virtual Facets GetFacetCounts(string facetIndexFieldName, bool isTaxonomyIndexed)

Parameters

facetIndexFieldName string

The name of the field the facet data is stored in

isTaxonomyIndexed bool

Whether the facet is stored in the Taxonomy index

Returns

Facets