Table of Contents

Method MetaTextScore

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

MetaTextScore(Expression<Func<TDocument, object>>)

Specifies the name of field to hold the computed relevance score for text search.

public FieldsBuilder<TDocument> MetaTextScore(Expression<Func<TDocument, object>> memberExpression)

Parameters

memberExpression Expression<Func<TDocument, object>>

The member expression specifying the field to hold the computed relevance score.

Returns

FieldsBuilder<TDocument>

The builder (so method calls can be chained).