View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec (google_api_discovery_engine v0.27.0)
A specification for configuring the behavior of content search.
Attributes
-
chunkSpec
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec.t
, default:nil
) - Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS -
extractiveContentSpec
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec.t
, default:nil
) - If there is no extractive_content_spec provided, there will be no extractive answer in the search response. -
searchResultMode
(type:String.t
, default:nil
) - Specifies the search result mode. If unspecified, the search result mode defaults toDOCUMENTS
. -
snippetSpec
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec.t
, default:nil
) - IfsnippetSpec
is not specified, snippets are not included in the search response. -
summarySpec
(type:GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec.t
, default:nil
) - IfsummarySpec
is not specified, summaries are not included in the search response.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec{ chunkSpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecChunkSpec.t() | nil, extractiveContentSpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecExtractiveContentSpec.t() | nil, searchResultMode: String.t() | nil, snippetSpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSnippetSpec.t() | nil, summarySpec: GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec.t() | nil }