Class SearchResultMode (0.11.14)

SearchResultMode(value)

Specifies the search result mode. If unspecified, the search result mode defaults to DOCUMENTS.

Enums

Name Description
SEARCH_RESULT_MODE_UNSPECIFIED Default value.
DOCUMENTS Returns documents in the search result.
CHUNKS Returns chunks in the search result. Only available if the [DataStore.DocumentProcessingConfig.chunking_config][] is specified.