Class TaxonomyFacetSumValueSource
Aggregates sum of values from DoubleVal(int) and DoubleVal(int, double[]), for each facet label.
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 TaxonomyFacetSumValueSource : SingleTaxonomyFacets
Constructors
TaxonomyFacetSumValueSource(OrdinalsReader, TaxonomyReader, FacetsConfig, FacetsCollector, ValueSource)
Aggreggates float facet values from the provided Lucene.Net.Queries.Function.ValueSource, and pulls ordinals from the provided OrdinalsReader.
Declaration
public TaxonomyFacetSumValueSource(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource)
Parameters
Type | Name | Description |
---|---|---|
OrdinalsReader | ordinalsReader | |
TaxonomyReader | taxoReader | |
FacetsConfig | config | |
FacetsCollector | fc | |
ValueSource | valueSource |
TaxonomyFacetSumValueSource(TaxonomyReader, FacetsConfig, FacetsCollector, ValueSource)
Aggreggates float facet values from the provided Lucene.Net.Queries.Function.ValueSource, pulling ordinals using DocValuesOrdinalsReader against the default indexed facet field DEFAULT_INDEX_FIELD_NAME.
Declaration
public TaxonomyFacetSumValueSource(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource)
Parameters
Type | Name | Description |
---|---|---|
TaxonomyReader | taxoReader | |
FacetsConfig | config | |
FacetsCollector | fc | |
ValueSource | valueSource |