public sealed class SearchResponse.Types.QueryExpansionInfo : IMessage<SearchResponse.Types.QueryExpansionInfo>, IEquatable<SearchResponse.Types.QueryExpansionInfo>, IDeepCloneable<SearchResponse.Types.QueryExpansionInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class SearchResponse.Types.QueryExpansionInfo.
Information describing query expansion including whether expansion has
occurred.
Number of pinned results. This field will only be set when expansion
happens and
[SearchRequest.QueryExpansionSpec.pin_unexpanded_results][google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec.pin_unexpanded_results]
is set to true.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eSearchResponse.Types.QueryExpansionInfo\u003c/code\u003e class within the Google Cloud Discovery Engine v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryExpansionInfo\u003c/code\u003e class describes details about query expansion, such as whether or not expansion has taken place during a search.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces, including \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 has two properties, \u003ccode\u003eExpandedQuery\u003c/code\u003e, which is a bool describing whether expansion has taken place, and \u003ccode\u003ePinnedResultCount\u003c/code\u003e, which displays the number of pinned results when expansion occurs.\u003c/p\u003e\n"],["\u003cp\u003eTwo versions of the library are available, the latest beta, 1.0.0-beta18, and 1.0.0-beta17.\u003c/p\u003e\n"]]],[],null,[]]