Table of Contents

Method Text

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

Text(params string[])

Sets one or more key names to include in the text index.

public static IndexKeysBuilder Text(params string[] names)

Parameters

names string[]

List of key names to include in the text index.

Returns

IndexKeysBuilder

The builder (so method calls can be chained).