Method Constant
Constant(double)
Creates a function that represents a constant number.
public SearchScoreFunction<TDocument> Constant(double value)
Parameters
value
doubleNumber that indicates a fixed value.
Returns
- SearchScoreFunction<TDocument>
A constant score function.