org.apache.solr.search.function
Class PowFloatFunction
java.lang.Object
org.apache.solr.search.function.ValueSource
org.apache.solr.search.function.DualFloatFunction
org.apache.solr.search.function.PowFloatFunction
- All Implemented Interfaces:
- Serializable
public class PowFloatFunction
- extends DualFloatFunction
Function to raise the base "a" to the power "b"
- See Also:
- Serialized Form
PowFloatFunction
public PowFloatFunction(ValueSource a,
ValueSource b)
- Parameters:
a
- the base.b
- the exponent.
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.