Click or drag to resize

SearchScoreDefinitionBuilderTDocumentBoost Method (Double)

Creates a score modifier that multiplies a result's base score by a given number.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public SearchScoreDefinition<TDocument> Boost(
	double value
)

Parameters

value
Type: SystemDouble
The number to multiply the default base score by.

Return Value

Type: SearchScoreDefinitionTDocument
A boost score modifier.
See Also