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 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 webpage provides documentation for the \u003ccode\u003eSearchResponse.Types.QueryExpansionInfo\u003c/code\u003e class within the Google Cloud Retail v2 API, detailing its properties and usage across multiple versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQueryExpansionInfo\u003c/code\u003e class offers information about query expansion, including whether expansion occurred and the number of pinned results.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, while offering methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within the class include \u003ccode\u003eExpandedQuery\u003c/code\u003e, a boolean indicating if query expansion took place, and \u003ccode\u003ePinnedResultCount\u003c/code\u003e, which shows the number of pinned results.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available in the documentation is 2.12.0, and it also provides links to documentation for versions ranging from 1.0.0 to 2.11.0, each containing information for the same class.\u003c/p\u003e\n"]]],[],null,[]]