Table of Contents

Method Relevance

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

Relevance()

Creates a function that represents the relevance score, which is the score Atlas Search assigns documents based on relevance.

public SearchScoreFunction<TDocument> Relevance()

Returns

SearchScoreFunction<TDocument>

A relevance score function.