Discovery Engine V1 API - Module Google::Cloud::DiscoveryEngine::V1::SearchRequest::ContentSearchSpec::SearchResultMode (v1.4.0)

Reference documentation and code samples for the Discovery Engine V1 API module Google::Cloud::DiscoveryEngine::V1::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.