Class ReplacementAction (1.19.0)

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

Replaces a term in the query. Multiple replacement candidates can be specified. All query_terms will be replaced with the replacement term. Example: Replace "gShoe" with "google shoe".

Attributes

NameDescription
query_terms MutableSequence[str]
Terms from the search query. Will be replaced by replacement term. Can specify up to 100 terms.
replacement_term str
Term that will be used for replacement.
term str
Will be [deprecated = true] post migration;