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