Class QueryTerm (1.7.0)

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

Query terms that we want to match on.


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. Example) "a b c" is 3 terms and allowed, " a b c d" is 4 terms and not allowed for partial match.
full_match bool
Whether this is supposed to be a full or partial match.