Class SumFloatFunction
java.lang.Object
org.apache.lucene.queries.function.ValueSource
org.apache.lucene.queries.function.valuesource.MultiFloatFunction
org.apache.lucene.queries.function.valuesource.SumFloatFunction
SumFloatFunction
returns the sum of its components.-
Field Summary
Fields inherited from class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
sources
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
func
(int doc, FunctionValues[] valsArr) protected String
name()
Methods inherited from class org.apache.lucene.queries.function.valuesource.MultiFloatFunction
createWeight, description, equals, exists, getValues, hashCode
Methods inherited from class org.apache.lucene.queries.function.ValueSource
asDoubleValuesSource, asLongValuesSource, fromDoubleValuesSource, getSortField, newContext, toString
-
Constructor Details
-
SumFloatFunction
-
-
Method Details
-
name
- Specified by:
name
in classMultiFloatFunction
-
func
- Specified by:
func
in classMultiFloatFunction
- Throws:
IOException
-