Class QueryTerm (1.12.0)

QueryTerm(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Query terms that we want to match on.

Attributes

NameDescription
value str
The value of the term to match on. Value cannot be empty. Value can have at most 3 terms if specified as a partial match. Each space separated string is considered as one term. For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms and not allowed for a partial match.
full_match bool
Whether this is supposed to be a full or partial match.