Table of Contents

Method Multiply

Namespace
MongoDB.Driver.Search
Assembly
MongoDB.Driver.dll

Multiply(IEnumerable<SearchScoreFunction<TDocument>>)

Creates a function that multiplies a series of numbers.

public SearchScoreFunction<TDocument> Multiply(IEnumerable<SearchScoreFunction<TDocument>> operands)

Parameters

operands IEnumerable<SearchScoreFunction<TDocument>>

An array of expressions, which can have negative values.

Returns

SearchScoreFunction<TDocument>

A multiplication score function.

Multiply(params SearchScoreFunction<TDocument>[])

Creates a function that multiplies a series of numbers.

public SearchScoreFunction<TDocument> Multiply(params SearchScoreFunction<TDocument>[] operands)

Parameters

operands SearchScoreFunction<TDocument>[]

An array of expressions, which can have negative values.

Returns

SearchScoreFunction<TDocument>

A mulitplication score function.