Class SumSingleFunction
SumSingleFunction returns the sum of its components.
NOTE: This was SumFloatFunction in Lucene
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public class SumSingleFunction : MultiSingleFunction
Constructors
| Improve this Doc View SourceSumSingleFunction(ValueSource[])
Declaration
public SumSingleFunction(ValueSource[] sources)
Parameters
| Type | Name | Description |
|---|---|---|
| ValueSource[] | sources |
Properties
| Improve this Doc View SourceName
Declaration
protected override string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Methods
| Improve this Doc View SourceFunc(Int32, FunctionValues[])
Declaration
protected override float Func(int doc, FunctionValues[] valsArr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | doc | |
| FunctionValues[] | valsArr |
Returns
| Type | Description |
|---|---|
| System.Single |