textLanguage property

String? textLanguage
getter/setter pair

The language to use for text search indexes.

Used as the default language if not overridden at the document level by specifying the text_language_override_field. The language is specified as a BCP 47 language code. For indexes with MONGODB_COMPATIBLE_API ApiScope: If unspecified, the default language is English. For indexes with ANY_API ApiScope: If unspecified, the default behavior is autodetect.

Optional.

Implementation

core.String? textLanguage;