Class TaxonomyFacetCounts
Reads from any OrdinalsReader; use FastTaxonomyFacetCounts if you are using the default encoding from Lucene.Net.Index.BinaryDocValues.
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 TaxonomyFacetCounts : Int32TaxonomyFacets
Constructors
TaxonomyFacetCounts(OrdinalsReader, TaxonomyReader, FacetsConfig, FacetsCollector)
Create TaxonomyFacetCounts, which also counts all facet labels. Use this for a non-default OrdinalsReader; otherwise use FastTaxonomyFacetCounts.
Declaration
public TaxonomyFacetCounts(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc)
Parameters
Type | Name | Description |
---|---|---|
OrdinalsReader | ordinalsReader | |
TaxonomyReader | taxoReader | |
FacetsConfig | config | |
FacetsCollector | fc |