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 v1 API class SearchResponse.Types.SearchResult.
The chunk data in the search response if the
[SearchRequest.ContentSearchSpec.search_result_mode][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.search_result_mode]
is set to
[CHUNKS][google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eSearchResponse.Types.SearchResult\u003c/code\u003e class is 1.6.0, with previous versions ranging from 1.5.0 down to 1.0.0-beta06 also available.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eSearchResponse.Types.SearchResult\u003c/code\u003e, represents the search results and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eChunk\u003c/code\u003e, \u003ccode\u003eDocument\u003c/code\u003e, and \u003ccode\u003eId\u003c/code\u003e, providing data related to the document, such as the chunk data, document snippet, and the document ID.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSearchResponse.Types.SearchResult\u003c/code\u003e has two constructors: a default one, and another to construct from another instance of the \u003ccode\u003eSearchResponse.Types.SearchResult\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.DiscoveryEngine.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class SearchResponse.Types.SearchResult (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult) \n\n public sealed class SearchResponse.Types.SearchResult : IMessage\u003cSearchResponse.Types.SearchResult\u003e, IEquatable\u003cSearchResponse.Types.SearchResult\u003e, IDeepCloneable\u003cSearchResponse.Types.SearchResult\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1 API class SearchResponse.Types.SearchResult.\n\nRepresents the search results. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SearchResponse.Types.SearchResult \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SearchResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types)[SearchResult](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SearchResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types)[SearchResult](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SearchResponse](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse)[Types](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types)[SearchResult](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.SearchResponse.Types.SearchResult), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### SearchResult()\n\n public SearchResult()\n\n### SearchResult(SearchResult)\n\n public SearchResult(SearchResponse.Types.SearchResult other)\n\nProperties\n----------\n\n### Chunk\n\n public Chunk Chunk { get; set; }\n\nThe chunk data in the search response if the\n\\[SearchRequest.ContentSearchSpec.search_result_mode\\]\\[google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.search_result_mode\\]\nis set to\n\\[CHUNKS\\]\\[google.cloud.discoveryengine.v1.SearchRequest.ContentSearchSpec.SearchResultMode.CHUNKS\\].\n\n### Document\n\n public Document Document { get; set; }\n\nThe document data snippet in the search response. Only fields that are\nmarked as `retrievable` are populated.\n\n### Id\n\n public string Id { get; set; }\n\n\\[Document.id\\]\\[google.cloud.discoveryengine.v1.Document.id\\] of the\nsearched \\[Document\\]\\[google.cloud.discoveryengine.v1.Document\\].\n\n### ModelScores\n\n public MapField\u003cstring, DoubleList\u003e ModelScores { get; }\n\nOutput only. Google provided available scores."]]