Reference documentation and code samples for the Google Cloud Retail V2 Client class Condition.
Enum describing under which condition query expansion should occur.
Protobuf type google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition
Namespace
Google \ Cloud \ Retail \ V2 \ SearchRequest \ QueryExpansionSpecMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
CONDITION_UNSPECIFIED
Value: 0
Unspecified query expansion condition. In this case, server behavior defaults to Condition.DISABLED.
Generated from protobuf enum CONDITION_UNSPECIFIED = 0;
DISABLED
Value: 1
Disabled query expansion. Only the exact search query is used, even if SearchResponse.total_size is zero.
Generated from protobuf enum DISABLED = 1;
AUTO
Value: 3
Automatic query expansion built by Google Retail Search.
Generated from protobuf enum AUTO = 3;