public abstract class SimpleFloatFunction extends SingleFunction
source| Constructor and Description |
|---|
SimpleFloatFunction(ValueSource source) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract float |
func(int doc,
DocValues vals) |
DocValues |
getValues(Map context,
IndexReader reader)
Gets the values for this reader and the context that was previously
passed to createWeight()
|
createWeight, description, equals, hashCode, namegetSortField, getValues, newContext, toStringpublic SimpleFloatFunction(ValueSource source)
protected abstract float func(int doc,
DocValues vals)
public DocValues getValues(Map context, IndexReader reader) throws IOException
ValueSourcegetValues in class ValueSourceIOException