Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Condition.
Enum describing under which condition query expansion should occur.
Protobuf type google.cloud.discoveryengine.v1.SearchRequest.QueryExpansionSpec.Condition
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ 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: 2
Automatic query expansion built by the Search API.
Generated from protobuf enum AUTO = 2;