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

Aggregates sum of values from FunctionValues.DoubleVal, for each facet label. @lucene.experimental
Inheritance: FloatTaxonomyFacets
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
TaxonomyFacetSumValueSource ( Lucene.Net.Facet.Taxonomy.OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource ) : System

Aggreggates float facet values from the provided ValueSource, and pulls ordinals from the provided OrdinalsReader.

TaxonomyFacetSumValueSource ( TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource ) : System

Aggreggates float facet values from the provided ValueSource, pulling ordinals using DocValuesOrdinalsReader against the default indexed facet field FacetsConfig.DEFAULT_INDEX_FIELD_NAME.

Private Methods

Method Description
SumValues ( IList matchingDocs, bool keepScores, ValueSource valueSource ) : void

Method Details

TaxonomyFacetSumValueSource() public method

Aggreggates float facet values from the provided ValueSource, and pulls ordinals from the provided OrdinalsReader.
public TaxonomyFacetSumValueSource ( Lucene.Net.Facet.Taxonomy.OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource ) : System
ordinalsReader Lucene.Net.Facet.Taxonomy.OrdinalsReader
taxoReader TaxonomyReader
config FacetsConfig
fc FacetsCollector
valueSource ValueSource
return System

TaxonomyFacetSumValueSource() public method

Aggreggates float facet values from the provided ValueSource, pulling ordinals using DocValuesOrdinalsReader against the default indexed facet field FacetsConfig.DEFAULT_INDEX_FIELD_NAME.
public TaxonomyFacetSumValueSource ( TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource ) : System
taxoReader TaxonomyReader
config FacetsConfig
fc FacetsCollector
valueSource ValueSource
return System