Class MaxSingleFunction
MaxSingleFunction returns the max of it's components.
NOTE: This was MaxFloatFunction in LuceneInherited Members
Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public class MaxSingleFunction : MultiSingleFunction
Constructors
MaxSingleFunction(ValueSource[])
MaxSingleFunction returns the max of it's components.
NOTE: This was MaxFloatFunction in LuceneDeclaration
public MaxSingleFunction(ValueSource[] sources)
Parameters
Type | Name | Description |
---|---|---|
ValueSource[] | sources |
Properties
Name
MaxSingleFunction returns the max of it's components.
NOTE: This was MaxFloatFunction in LuceneDeclaration
protected override string Name { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
Func(int, FunctionValues[])
MaxSingleFunction returns the max of it's components.
NOTE: This was MaxFloatFunction in LuceneDeclaration
protected override float Func(int doc, FunctionValues[] valsArr)
Parameters
Type | Name | Description |
---|---|---|
int | doc | |
FunctionValues[] | valsArr |
Returns
Type | Description |
---|---|
float |