Expand description
Nested message and enum types in Rule
.
Modules§
- Nested message and enum types in
ForceReturnFacetAction
.
Structs§
- A boost action to apply to results matching condition specified above.
- Prevents
query_term
from being associated with specified terms during search. Example: Don’t associate “gShoe” and “cheap”. - Rule Condition:No [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] provided is a global match.1 or more [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] provided are combined with OR operator.Action Input: The request query and filter that are applied to the retrieved products, in addition to any filters already provided with the SearchRequest. The AND operator is used to combine the query’s existing filters with the filter rule(s). NOTE: May result in 0 results when filters conflict.Action Result: Filters the returned objects to be ONLY those that passed the filter.
- Force returns an attribute/facet in the request around a certain position or above.
- Prevents a term in the query from being used in search. Example: Don’t search for “shoddy”.
- Maps a set of terms to a set of synonyms. Set of synonyms will be treated as synonyms of each query term only.
query_terms
will not be treated as synonyms of each other. Example: “sneakers” will use a synonym of “shoes”. “shoes” will not use a synonym of “sneakers”. - Redirects a shopper to a specific page.
- Removes an attribute/facet in the request if is present.
- 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”. - Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of “sneakers” and “shoes”:
Enums§
- An action must be provided.