public sealed class SearchResponse.Types.SearchResult : IMessage<SearchResponse.Types.SearchResult>, IEquatable<SearchResponse.Types.SearchResult>, IDeepCloneable<SearchResponse.Types.SearchResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.SearchResult.
Represents the search results.
Implements
IMessageSearchResponseTypesSearchResult, IEquatableSearchResponseTypesSearchResult, IDeepCloneableSearchResponseTypesSearchResult, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
SearchResult()
public SearchResult()
SearchResult(SearchResult)
public SearchResult(SearchResponse.Types.SearchResult other)
Parameter | |
---|---|
Name | Description |
other |
SearchResponseTypesSearchResult |
Properties
Chunk
public Chunk Chunk { get; set; }
The chunk data in the search response if the [SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.search_result_mode] is set to [CHUNKS][google.cloud.discoveryengine.v1beta.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS].
Property Value | |
---|---|
Type | Description |
Chunk |
Document
public Document Document { get; set; }
The document data snippet in the search response. Only fields that are
marked as retrievable
are populated.
Property Value | |
---|---|
Type | Description |
Document |
Id
public string Id { get; set; }
[Document.id][google.cloud.discoveryengine.v1beta.Document.id] of the searched [Document][google.cloud.discoveryengine.v1beta.Document].
Property Value | |
---|---|
Type | Description |
string |
ModelScores
public MapField<string, DoubleList> ModelScores { get; }
Google provided available scores.
Property Value | |
---|---|
Type | Description |
MapFieldstringDoubleList |