Table of Contents

Method SetTextLanguageOverride

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

SetTextLanguageOverride(Expression<Func<TDocument, string>>)

Specifies a member expression for the field name containing the language for the text index.

public IndexOptionsBuilder<TDocument> SetTextLanguageOverride(Expression<Func<TDocument, string>> memberExpression)

Parameters

memberExpression Expression<Func<TDocument, string>>

The member expression indicating the language field name.

Returns

IndexOptionsBuilder<TDocument>

The builder (so method calls can be chained).