Reference documentation and code samples for the Cloud Firestore V1 Client class TextIndexType.
Ways to index the text field value.
Protobuf type google.firestore.admin.v1.Index.IndexField.SearchConfig.TextIndexType
Namespace
Google \ Cloud \ Firestore \ Admin \ V1 \ Index \ IndexField \ SearchConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TEXT_INDEX_TYPE_UNSPECIFIED
Value: 0The index type is unspecified. Not a valid option.
Generated from protobuf enum TEXT_INDEX_TYPE_UNSPECIFIED = 0;
TOKENIZED
Value: 1Field values are tokenized. This is the only way currently supported for MONGODB_COMPATIBLE_API.
Generated from protobuf enum TOKENIZED = 1;