Class SearchResult (0.13.4)

SearchResult(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the search results.

Attributes

Name Description
id str
Document.id of the searched Document.
document google.cloud.discoveryengine_v1.types.Document
The document data snippet in the search response. Only fields that are marked as retrievable are populated.
chunk google.cloud.discoveryengine_v1.types.Chunk
The chunk data in the search response if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS.