Table of Contents

Method Log

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

Log(SearchScoreFunction<TDocument>)

Creates a function that calculates the base-10 logarithm of a number.

public SearchScoreFunction<TDocument> Log(SearchScoreFunction<TDocument> operand)

Parameters

operand SearchScoreFunction<TDocument>

The number.

Returns

SearchScoreFunction<TDocument>

A logarithmic score function.