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 v1 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.v1.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."],[[["This page provides documentation for the `SearchResponse.Types.QueryExpansionInfo` class within the Google Cloud Discovery Engine v1 API, with the latest version being 1.6.0."],["The `QueryExpansionInfo` class is used to describe whether query expansion has occurred during a search, implemented as a sealed class."],["This class inherits from `object` and implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `QueryExpansionInfo` class includes properties `ExpandedQuery`, which is a boolean indicating if expansion occurred, and `PinnedResultCount`, indicating the number of pinned results."],["The class offers two constructors, a default constructor and one that takes another `QueryExpansionInfo` as a parameter."]]],[]]