public class TaxonomyFacetSumValueSource extends FloatTaxonomyFacets
FunctionValues.doubleVal(int), for each facet label.| Modifier and Type | Class and Description |
|---|---|
static class |
TaxonomyFacetSumValueSource.ScoreValueSource
ValueSource that returns the score for each
hit; use this to aggregate the sum of all hit scores
for each facet label. |
valueschildren, config, indexFieldName, siblings, taxoReader| Constructor and Description |
|---|
TaxonomyFacetSumValueSource(OrdinalsReader ordinalsReader,
TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc,
ValueSource valueSource)
Aggreggates float facet values from the provided
ValueSource, and pulls ordinals from the
provided OrdinalsReader. |
TaxonomyFacetSumValueSource(TaxonomyReader taxoReader,
FacetsConfig config,
FacetsCollector fc,
ValueSource valueSource)
Aggreggates float facet values from the provided
ValueSource, pulling ordinals using DocValuesOrdinalsReader against the default indexed
facet field FacetsConfig.DEFAULT_INDEX_FIELD_NAME. |
getSpecificValue, getTopChildren, rollupgetAllDims, verifyDimpublic TaxonomyFacetSumValueSource(TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource) throws IOException
ValueSource, pulling ordinals using DocValuesOrdinalsReader against the default indexed
facet field FacetsConfig.DEFAULT_INDEX_FIELD_NAME.IOExceptionpublic TaxonomyFacetSumValueSource(OrdinalsReader ordinalsReader, TaxonomyReader taxoReader, FacetsConfig config, FacetsCollector fc, ValueSource valueSource) throws IOException
ValueSource, and pulls ordinals from the
provided OrdinalsReader.IOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.