Class LuceneFacetExtractionContext
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
FacetsCollectorsearcherReference
ISearcherReferencefacetConfig
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
Methods
GetFacetCounts(string, bool)
Get the facet counts for the faceted field
public virtual Facets GetFacetCounts(string facetIndexFieldName, bool isTaxonomyIndexed)
Parameters
facetIndexFieldName
stringThe name of the field the facet data is stored in
isTaxonomyIndexed
boolWhether the facet is stored in the Taxonomy index
Returns
- Facets