1 or more Condition provided is combined with OR
operator.
Action Input: The request query and filter that will be 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.
Protobuf type google.cloud.retail.v2beta.Rule.FilterAction
A filter to apply on the matching condition results. Supported features:
filter must be
set.
Filter syntax is identical to
SearchRequest.filter.
See more
details at the Retail Search
user guide.
To filter products with product ID "product_1" or "product_2", and
color
"Red" or "Blue":<br>
(id: ANY("product_1", "product_2"))<br>AND<br>(colorFamilies: ANY("Red", "Blue"))<br>
A filter to apply on the matching condition results. Supported features:
filter must be
set.
Filter syntax is identical to
SearchRequest.filter.
See more
details at the Retail Search
user guide.
To filter products with product ID "product_1" or "product_2", and
color
"Red" or "Blue":<br>
(id: ANY("product_1", "product_2"))<br>AND<br>(colorFamilies: ANY("Red", "Blue"))<br>
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]