public static interface Index.SearchIndexOptionsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getTextLanguage()
public abstract String getTextLanguage() Optional. 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.
string text_language = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The textLanguage. |
getTextLanguageBytes()
public abstract ByteString getTextLanguageBytes() Optional. 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.
string text_language = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for textLanguage. |
getTextLanguageOverrideFieldPath()
public abstract String getTextLanguageOverrideFieldPath() Optional. The field in the document that specifies which language to use
for that specific document. For indexes with MONGODB_COMPATIBLE_API
ApiScope: if unspecified, the language is taken from the "language" field
if it exists or from text_language if it does not.
string text_language_override_field_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The textLanguageOverrideFieldPath. |
getTextLanguageOverrideFieldPathBytes()
public abstract ByteString getTextLanguageOverrideFieldPathBytes() Optional. The field in the document that specifies which language to use
for that specific document. For indexes with MONGODB_COMPATIBLE_API
ApiScope: if unspecified, the language is taken from the "language" field
if it exists or from text_language if it does not.
string text_language_override_field_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for textLanguageOverrideFieldPath. |