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