Table of Contents

Method SetTextDefaultLanguage

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

SetTextDefaultLanguage(string)

Sets the default language for the text index.

public IndexOptionsBuilder<TDocument> SetTextDefaultLanguage(string language)

Parameters

language string

The default language.

Returns

IndexOptionsBuilder<TDocument>

The builder (so method calls can be chained).