public sealed class QueryExpansionInfo : IMessage<SearchResponse.Types.QueryExpansionInfo>, IEquatable<SearchResponse.Types.QueryExpansionInfo>, IDeepCloneable<SearchResponse.Types.QueryExpansionInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 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.retail.v2.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"]],[["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\u003eThis document provides reference information for the \u003ccode\u003eSearchResponse.Types.QueryExpansionInfo\u003c/code\u003e class within the Google Cloud Retail v2 API, covering versions from 1.0.0 to 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryExpansionInfo\u003c/code\u003e class details whether a query expansion has occurred during a search operation within the Google Cloud Retail V2 API.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits properties from Object and implements multiple interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, all within the Google.Cloud.Retail.V2 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eExpandedQuery\u003c/code\u003e (a boolean indicating if expansion occurred) and \u003ccode\u003ePinnedResultCount\u003c/code\u003e (the number of pinned results when expansion occurs and \u003ccode\u003epin_unexpanded_results\u003c/code\u003e is true), both of which are essential attributes of the class.\u003c/p\u003e\n"],["\u003cp\u003eThe two constructors offered are a parameterless constructor, and a second that accepts an instance of the \u003ccode\u003eSearchResponse.Types.QueryExpansionInfo\u003c/code\u003e for a copy.\u003c/p\u003e\n"]]],[],null,[]]