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 |
|---|---|
java.lang.String |
description()
description of field, used in explain()
|
boolean |
equals(java.lang.Object o) |
FunctionValues |
getValues(java.util.Map context,
LeafReaderContext readerContext)
Gets the values for this reader and the context that was previously
passed to createWeight()
|
int |
hashCode() |
createWeight, getSortField, newContext, toStringpublic FunctionValues getValues(java.util.Map context, LeafReaderContext readerContext) throws java.io.IOException
ValueSourcegetValues in class ValueSourcejava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class ValueSourcepublic int hashCode()
hashCode in class ValueSourcepublic java.lang.String description()
ValueSourcedescription in class ValueSourceCopyright © 2000–2017 The Apache Software Foundation. All rights reserved.