Class PhraseMatchStrategy (1.37.0)

PhraseMatchStrategy(value)

Strategy for matching phrases.

Enums

Name Description
PHRASE_MATCH_STRATEGY_UNSPECIFIED Unspecified, defaults to PARTIAL_MATCH.
PARTIAL_MATCH Text that contains the phrase as a substring will be matched, e.g. "foo" will match "afoobar".
WORD_MATCH Text that contains the tokenized words of the phrase will be matched, e.g. "foo" will match "a foo bar" and "foo bar", but not "foobar".