Class SimpleSingleFunction
A simple float function with a single argument
NOTE: This was SimpleFloatFunction in Lucene
Inheritance
SimpleSingleFunction
Assembly: Lucene.Net.Queries.dll
Syntax
public abstract class SimpleSingleFunction : SingularFunction
Constructors
SimpleSingleFunction(ValueSource)
A simple float function with a single argument
NOTE: This was SimpleFloatFunction in Lucene
Declaration
protected SimpleSingleFunction(ValueSource source)
Parameters
Methods
Func(int, FunctionValues)
A simple float function with a single argument
NOTE: This was SimpleFloatFunction in Lucene
Declaration
protected abstract float Func(int doc, FunctionValues vals)
Parameters
Returns
GetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Type |
Name |
Description |
IDictionary |
context |
|
AtomicReaderContext |
readerContext |
|
Returns
Overrides