Discovery Engine v1 API - Enum SearchRequest.Types.ContentSearchSpec.Types.SearchResultMode (1.3.0)

public enum SearchRequest.Types.ContentSearchSpec.Types.SearchResultMode

Reference 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.V1

Assembly

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.