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 SetTextDefaultLanguage(string language)

Parameters

language string

The default language.

Returns

IndexOptionsBuilder

The builder (so method calls can be chained).