Table of Contents

Method MetaSearchScoreDescending

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MetaSearchScoreDescending<TDocument>(SortDefinition<TDocument>)

Creates a descending sort on the computed relevance score of atlas search.

public static SortDefinition<TDocument> MetaSearchScoreDescending<TDocument>(this SortDefinition<TDocument> sort)

Parameters

sort SortDefinition<TDocument>

Returns

SortDefinition<TDocument>

A meta search score sort.

Type Parameters

TDocument