public class LogDoubleFunction extends DualDoubleFunction
LogDoubleFunction returns the log of a double value with a given base.| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
a, b| Constructor and Description |
|---|
LogDoubleFunction(org.apache.lucene.queries.function.ValueSource a,
org.apache.lucene.queries.function.ValueSource b) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
func(int doc,
org.apache.lucene.queries.function.FunctionValues aVals,
org.apache.lucene.queries.function.FunctionValues bVals) |
protected String |
name() |
createWeight, description, equals, getValues, hashCodepublic static final String NAME
public LogDoubleFunction(org.apache.lucene.queries.function.ValueSource a,
org.apache.lucene.queries.function.ValueSource b)
protected String name()
name in class DualDoubleFunctionprotected double func(int doc,
org.apache.lucene.queries.function.FunctionValues aVals,
org.apache.lucene.queries.function.FunctionValues bVals)
func in class DualDoubleFunctionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.