org.apache.solr.search.function
Class SimpleFloatFunction
java.lang.Object
org.apache.solr.search.function.ValueSource
org.apache.solr.search.function.SingleFunction
org.apache.solr.search.function.SimpleFloatFunction
- All Implemented Interfaces:
- Serializable
public abstract class SimpleFloatFunction
- extends SingleFunction
A simple float function with a single argument
- See Also:
- Serialized Form
SimpleFloatFunction
public SimpleFloatFunction(ValueSource source)
func
protected abstract float func(int doc,
DocValues vals)
getValues
public DocValues getValues(Map context,
IndexReader reader)
throws IOException
- Description copied from class:
ValueSource
- Gets the values for this reader and the context that was previously
passed to createWeight()
- Overrides:
getValues
in class ValueSource
- Throws:
IOException