Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class SearchResultMode.
Specifies the search result mode. If unspecified, the
search result mode defaults to DOCUMENTS.
Protobuf type google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ SearchRequest \ ContentSearchSpecMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SEARCH_RESULT_MODE_UNSPECIFIED
Value: 0Default value.
Generated from protobuf enum SEARCH_RESULT_MODE_UNSPECIFIED = 0;
DOCUMENTS
Value: 1Returns documents in the search result.
Generated from protobuf enum DOCUMENTS = 1;
CHUNKS
Value: 2Returns chunks in the search result. Only available if the DocumentProcessingConfig.chunking_config is specified.
Generated from protobuf enum CHUNKS = 2;