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