Class TaxonomyFacetSumValueSource
Aggregates sum of values from Lucene.Net.Queries.Function.FunctionValues.DoubleVal(System.Int32) and Lucene.Net.Queries.Function.FunctionValues.DoubleVal(System.Int32,System.Double[]), for each facet label.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Facet.Taxonomy
Assembly: Lucene.Net.Facet.dll
Syntax
public class TaxonomyFacetSumValueSource : SingleTaxonomyFacets
Constructors
| Improve this Doc View SourceTaxonomyFacetSumValueSource(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 | |
Lucene.Net.Queries.Function.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 | |
Lucene.Net.Queries.Function.ValueSource | valueSource |