Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SearchResultMode.
Specifies the search result mode. If unspecified, the
search result mode defaults to DOCUMENTS.
Constants
SEARCH_RESULT_MODE_UNSPECIFIED
value: 0 Default value.
DOCUMENTS
value: 1 Returns documents in the search result.
CHUNKS
value: 2 Returns chunks in the search result. Only available if the
[DataStore.DocumentProcessingConfig.chunking_config][] is specified.