Table of Contents

Class TextOptions

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.Encryption.dll

Text options.

public sealed class TextOptions
Inheritance
TextOptions
Inherited Members

Remarks

TextOptions specifies options for a Queryable Encryption field supporting "textPreview" queries. TextOptions is currently unstable API and subject to backwards breaking changes. TextOptions only applies when the encryption algorithm is "textPreview".

Constructors

TextOptions(bool, bool, Optional<PrefixOptions>, Optional<SubstringOptions>, Optional<SuffixOptions>)

Initializes a new instance of the TextOptions class.

Properties

CaseSensitive

Gets whether text indexes for this field are case-sensitive.

DiacriticSensitive

Gets whether text indexes for this field are diacritic sensitive.

PrefixOptions

Gets the prefix options.

SubstringOptions

Gets the substring options.

SuffixOptions

Gets the suffix options.