Table of Contents

Method MetaTextScore

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

MetaTextScore(string)

Creates a descending sort on the computed relevance score of a text search. The name of the key should be the name of the projected relevence score field.

public SortDefinition<TDocument> MetaTextScore(string field)

Parameters

field string

The field.

Returns

SortDefinition<TDocument>

A meta text score sort.