@ -68,11 +68,11 @@ message SearchRequest {
/ / Specifies how a facet is computed.
message FacetKey {
/ / Required. Supported textual and numerical facet keys in
/ / [ Product ] [ google.cloud.retail.v2.Product ] object , over which the facet
/ / values are computed. Facet key is case - sensitive.
/ / [ Product ] [ google.cloud.retail.v2alpha .Product ] object , over which the
/ / facet values are computed. Facet key is case - sensitive.
/ /
/ / Allowed facet keys when
/ / [ FacetKey.query ] [ google.cloud.retail.v2.SearchRequest.FacetSpec.FacetKey.query ]
/ / [ FacetKey.query ] [ google.cloud.retail.v2alpha .SearchRequest.FacetSpec.FacetKey.query ]
/ / is not specified :
/ /
/ / * textual_field =
@ -291,10 +291,9 @@ message SearchRequest {
/ /
/ / * To boost 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 > *
/ / "Red" or "Blue" :
/ / * ( id : ANY ( "product_1" , "product_2" ) ) AND ( colorFamilies :
/ / ANY ( "Red" , "Blue" ) )
string condition = 1 ;
/ / Strength of the condition boost , which should be in [ - 1 , 1 ] . Negative
@ -438,8 +437,7 @@ message SearchRequest {
/ / The filter syntax consists of an expression language for constructing a
/ / predicate from one or more fields of the products being filtered. Filter
/ / expression is case - sensitive. See more details at this [ user
/ / guide ] ( / retail / private / docs / filter - and - order # filter ) .
/ / expression is case - sensitive.
/ /
/ / If this field is unrecognizable , an INVALID_ARGUMENT is returned.
string filter = 10 ;
@ -458,9 +456,7 @@ message SearchRequest {
/ / The order in which products are returned. Products can be ordered by
/ / a field in an [ Product ] [ google.cloud.retail.v2alpha.Product ] object. Leave
/ / it unset if ordered by relevance. OrderBy expression is case - sensitive. See
/ / more details at this [ user
/ / guide ] ( / retail / private / docs / filter - and - order # order ) .
/ / it unset if ordered by relevance. OrderBy expression is case - sensitive.
/ /
/ / If this field is unrecognizable , an INVALID_ARGUMENT is returned.
string order_by = 11 ;
@ -478,13 +474,11 @@ message SearchRequest {
/ / support team if you are interested in using dynamic facet feature.
DynamicFacetSpec dynamic_facet_spec = 21 ;
/ / Boost specification to boost certain products. See more details at this
/ / [ user guide ] ( / retail / private / docs / boosting ) .
/ / Boost specification to boost certain products.
BoostSpec boost_spec = 13 ;
/ / The query expansion specification that specifies the conditions under which
/ / query expansion will occur. See more details at this [ user
/ / guide ] ( / retail / private / docs / result - size # query_expansion ) .
/ / query expansion will occur..
QueryExpansionSpec query_expansion_spec = 14 ;
/ / The relevance threshold of the search results.
@ -492,8 +486,7 @@ message SearchRequest {
/ / Defaults to
/ / [ RelevanceThreshold.HIGH ] [ google.cloud.retail.v2alpha.SearchRequest.RelevanceThreshold.HIGH ] ,
/ / which means only the most relevant results are shown , and the least number
/ / of results are returned. See more details at this [ user
/ / guide ] ( / retail / private / docs / result - size # relevance_thresholding ) .
/ / of results are returned.
RelevanceThreshold relevance_threshold = 15 ;
/ / The keys to fetch and rollup the matching