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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]