Table of Contents

Method MetaSearchScoreAscending

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MetaSearchScoreAscending<TDocument>(SortDefinition<TDocument>)

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

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

Parameters

sort SortDefinition<TDocument>

Returns

SortDefinition<TDocument>

A meta search score sort.

Type Parameters

TDocument