Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextIndexSpec.
Specification of how the field should be indexed for search text indexes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index_type
def index_type() -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextIndexType
Returns
- (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextIndexType) — Required. How to index the text field value.
#index_type=
def index_type=(value) -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextIndexType
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextIndexType) — Required. How to index the text field value.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextIndexType) — Required. How to index the text field value.
#match_type
def match_type() -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextMatchType
Returns
- (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextMatchType) — Required. How to match the text field value.
#match_type=
def match_type=(value) -> ::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextMatchType
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextMatchType) — Required. How to match the text field value.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::TextMatchType) — Required. How to match the text field value.