org.apache.solr.search.function
Class DivFloatFunction
java.lang.Object
org.apache.solr.search.function.ValueSource
org.apache.solr.search.function.DualFloatFunction
org.apache.solr.search.function.DivFloatFunction
- All Implemented Interfaces:
- Serializable
public class DivFloatFunction
- extends DualFloatFunction
Function to divide "a" by "b"
- See Also:
- Serialized Form
DivFloatFunction
public DivFloatFunction(ValueSource a,
ValueSource b)
- Parameters:
a
- the numerator.b
- the denominator.
name
protected String name()
- Specified by:
name
in class DualFloatFunction
func
protected float func(int doc,
DocValues aVals,
DocValues bVals)
- Specified by:
func
in class DualFloatFunction
Copyright © 2010 Apache Software Foundation. All Rights Reserved.