Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextSpec.
The specification for how to build a text search index for a field.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index_specs
def index_specs() -> ::Array<::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextIndexSpec>
Returns
- (::Array<::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextIndexSpec>) — Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.
#index_specs=
def index_specs=(value) -> ::Array<::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextIndexSpec>
Parameter
- value (::Array<::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextIndexSpec>) — Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.
Returns
- (::Array<::Google::Cloud::Firestore::Admin::V1::Index::IndexField::SearchConfig::SearchTextIndexSpec>) — Required. Specifications for how the field should be indexed. Repeated so that the field can be indexed in multiple ways.