Class FastTaxonomyFacetCounts
Computes facets counts, assuming the default encoding into DocValues was used.
Note
This API is experimental and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public class FastTaxonomyFacetCounts : Int32TaxonomyFacets
Constructors
FastTaxonomyFacetCounts(TaxonomyReader, FacetsConfig, FacetsCollector)
Create FastTaxonomyFacetCounts, which also counts all facet labels.
Declaration
public FastTaxonomyFacetCounts(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
Parameters
Type | Name | Description |
---|---|---|
TaxonomyReader | taxoReader | |
FacetsConfig | config | |
FacetsCollector | fc |
FastTaxonomyFacetCounts(string, TaxonomyReader, FacetsConfig, FacetsCollector)
Create FastTaxonomyFacetCounts, using the
specified indexFieldName
for ordinals. Use
this if you had set SetIndexFieldName(string, string)
to change the index
field name for certain dimensions.
Declaration
public FastTaxonomyFacetCounts(string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
Parameters
Type | Name | Description |
---|---|---|
string | indexFieldName | |
TaxonomyReader | taxoReader | |
FacetsConfig | config | |
FacetsCollector | fc |