C# Class Lucene.Net.Facet.Taxonomy.FastTaxonomyFacetCounts

Computes facets counts, assuming the default encoding into DocValues was used. @lucene.experimental
Inheritance: IntTaxonomyFacets
Mostra file Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
FastTaxonomyFacetCounts ( TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc ) : System.Collections.Generic

Create FastTaxonomyFacetCounts, which also counts all facet labels.

FastTaxonomyFacetCounts ( string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc ) : System.Collections.Generic

Create FastTaxonomyFacetCounts, using the specified indexFieldName for ordinals. Use this if you had set FacetsConfig.SetIndexFieldName to change the index field name for certain dimensions.

Private Methods

Method Description
Count ( IList matchingDocs ) : void

Method Details

FastTaxonomyFacetCounts() public method

Create FastTaxonomyFacetCounts, which also counts all facet labels.
public FastTaxonomyFacetCounts ( TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc ) : System.Collections.Generic
taxoReader TaxonomyReader
config FacetsConfig
fc FacetsCollector
return System.Collections.Generic

FastTaxonomyFacetCounts() public method

Create FastTaxonomyFacetCounts, using the specified indexFieldName for ordinals. Use this if you had set FacetsConfig.SetIndexFieldName to change the index field name for certain dimensions.
public FastTaxonomyFacetCounts ( string indexFieldName, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc ) : System.Collections.Generic
indexFieldName string
taxoReader TaxonomyReader
config FacetsConfig
fc FacetsCollector
return System.Collections.Generic