public static class TaxonomyFacetSumValueSource.ScoreValueSource extends ValueSource
ValueSource that returns the score for each
hit; use this to aggregate the sum of all hit scores
for each facet label.| Constructor and Description |
|---|
ScoreValueSource()
Sole constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
FunctionValues |
getValues(Map context,
LeafReaderContext readerContext) |
int |
hashCode() |
createWeight, getSortField, newContext, toStringpublic FunctionValues getValues(Map context, LeafReaderContext readerContext) throws IOException
getValues in class ValueSourceIOExceptionpublic boolean equals(Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourcepublic String description()
description in class ValueSourceCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.