public enum SearchRequest.Types.ContentSearchSpec.Types.SearchResultModeReference documentation and code samples for the Discovery Engine v1 API enum SearchRequest.Types.ContentSearchSpec.Types.SearchResultMode.
Specifies the search result mode. If unspecified, the search result mode is based on [DataStore.DocumentProcessingConfig.chunking_config][]:
- If [DataStore.DocumentProcessingConfig.chunking_config][] is specified,
it defaults to
CHUNKS. - Otherwise, it defaults to
DOCUMENTS.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Fields |
|
|---|---|
| Name | Description |
Chunks |
Returns chunks in the search result. Only available if the [DataStore.DocumentProcessingConfig.chunking_config][] is specified. |
Documents |
Returns documents in the search result. |
Unspecified |
Default value. |