Enum TextQuery.MatchType (0.21.0)

public enum TextQuery.MatchType extends Enum<TextQuery.MatchType> implements ProtocolMessageEnum

The matching strategy to apply when comparing text against the content of fields.

Protobuf enum google.cloud.vectorsearch.v1beta.TextQuery.MatchType

Implements

ProtocolMessageEnum

Static Fields

Name Description
EXACT

Matches only when the entire field value is exactly equal to text.

EXACT = 2;

EXACT_VALUE

Matches only when the entire field value is exactly equal to text.

EXACT = 2;

MATCH_TYPE_UNSPECIFIED

Defaults to STANDARD.

MATCH_TYPE_UNSPECIFIED = 0;

MATCH_TYPE_UNSPECIFIED_VALUE

Defaults to STANDARD.

MATCH_TYPE_UNSPECIFIED = 0;

TEXT

Treats 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.

TEXT = 1;

TEXT_VALUE

Treats 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.

TEXT = 1;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()