Click or drag to resize

SearchScoreFunctionBuilderTDocumentAdd Method (IEnumerableSearchScoreFunctionTDocument)

Creates a function that adds a series of numbers.

Namespace:  MongoDB.Driver.Search
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public SearchScoreFunction<TDocument> Add(
	IEnumerable<SearchScoreFunction<TDocument>> operands
)

Parameters

operands
Type: System.Collections.GenericIEnumerableSearchScoreFunctionTDocument
An array of expressions, which can have negative values.

Return Value

Type: SearchScoreFunctionTDocument
An addition score function.
See Also