Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::Index::SearchIndexOptions.
Options for search indexes at the definition level.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#text_language
def text_language() -> ::String
Returns
-
(::String) — 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 withANY_APIApiScope: If unspecified, the default behavior is autodetect.
#text_language=
def text_language=(value) -> ::String
Parameter
-
value (::String) — 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 withANY_APIApiScope: If unspecified, the default behavior is autodetect.
Returns
-
(::String) — 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 withANY_APIApiScope: If unspecified, the default behavior is autodetect.
#text_language_override_field_path
def text_language_override_field_path() -> ::String
Returns
-
(::String) — 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_languageif it does not.
#text_language_override_field_path=
def text_language_override_field_path=(value) -> ::String
Parameter
-
value (::String) — 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_languageif it does not.
Returns
-
(::String) — 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_languageif it does not.