Class FastTaxonomyFacetCounts
Computes facets counts, assuming the default encoding into DocValues was used.
@lucene.experimental
Inherited Members
Namespace: Lucene.Net.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public class FastTaxonomyFacetCounts : Int32TaxonomyFacets
Constructors
| Improve this Doc View SourceFastTaxonomyFacetCounts(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 |
---|---|---|
System.String | indexFieldName | |
TaxonomyReader | taxoReader | |
FacetsConfig | config | |
FacetsCollector | fc |