public abstract class SimpleFloatFunction extends SingleFunction
ValueSource.ValueSourceComparator, ValueSource.ValueSourceComparatorSource, ValueSource.ValueSourceSortFieldsource| Constructor and Description |
|---|
SimpleFloatFunction(ValueSource source) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract float |
func(int doc,
DocValues vals) |
DocValues |
getValues(java.util.Map context,
org.apache.lucene.index.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(java.util.Map context, org.apache.lucene.index.IndexReader reader) throws java.io.IOException
ValueSourcegetValues in class ValueSourcejava.io.IOException