Reference documentation and code samples for the Google Cloud Vector Search V1 Client class MatchType.
The matching strategy to apply when comparing text against the content
of fields.
Protobuf type google.cloud.vectorsearch.v1.TextQuery.MatchType
Namespace
Google \ Cloud \ VectorSearch \ V1 \ TextQueryMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
MATCH_TYPE_UNSPECIFIED
Value: 0Defaults to TEXT.
Generated from protobuf enum MATCH_TYPE_UNSPECIFIED = 0;
TEXT
Value: 1Treats text as individual search terms combined with an implicit
AND: every term must appear in the field, in any order and any
position. Case-insensitive.
Generated from protobuf enum TEXT = 1;
EXACT
Value: 2Matches only when the entire field value is exactly equal to text.
Generated from protobuf enum EXACT = 2;