public sealed class QueryExpansionInfo : IMessage<SearchResponse.Types.QueryExpansionInfo>, IEquatable<SearchResponse.Types.QueryExpansionInfo>, IDeepCloneable<SearchResponse.Types.QueryExpansionInfo>, IBufferMessage, IMessage
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 webpage details the \u003ccode\u003eQueryExpansionInfo\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, providing information about whether query expansion has occurred in a search.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryExpansionInfo\u003c/code\u003e class 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, and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, \u003ccode\u003eQueryExpansionInfo()\u003c/code\u003e and \u003ccode\u003eQueryExpansionInfo(SearchResponse.Types.QueryExpansionInfo other)\u003c/code\u003e, along with properties such as \u003ccode\u003eExpandedQuery\u003c/code\u003e (a boolean indicating if expansion occurred) and \u003ccode\u003ePinnedResultCount\u003c/code\u003e (the number of pinned results).\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of this class are documented, ranging from version 1.0.0 to the latest version 2.12.0, with links to the documentation for each version.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.12.0, with a total of 20 versions documented in this page.\u003c/p\u003e\n"]]],[],null,[]]