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"]],[["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-03-21 UTC."],[[["The provided content details the `QueryExpansionInfo` class within the Google Cloud Retail V2 API, offering a comprehensive list of versions and their corresponding documentation links, with version 2.12.0 being the most recent version."],["`QueryExpansionInfo` describes whether a query expansion has occurred during a search, inheriting properties from `Object` and implementing interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `QueryExpansionInfo` class contains two key properties: `ExpandedQuery`, which is a boolean indicating if query expansion happened, and `PinnedResultCount`, which is a long integer representing the number of pinned results, only applicable when expansion happens and unexpanded results are pinned."],["The `QueryExpansionInfo` has two constructors: a default `QueryExpansionInfo()` and a copy constructor `QueryExpansionInfo(SearchResponse.Types.QueryExpansionInfo other)`."]]],[]]