Method Constant
Constant(double)
Creates a score modifier that replaces the base score with a given number.
public SearchScoreDefinition<TDocument> Constant(double value)
Parameters
value
doubleThe number to replace the base score with.
Returns
- SearchScoreDefinition<TDocument>
A constant score modifier.