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.
Implements
IMessage<SearchResponse.Types.QueryExpansionInfo>, IEquatable<SearchResponse.Types.QueryExpansionInfo>, IDeepCloneable<SearchResponse.Types.QueryExpansionInfo>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
QueryExpansionInfo()
public QueryExpansionInfo()
QueryExpansionInfo(SearchResponse.Types.QueryExpansionInfo)
public QueryExpansionInfo(SearchResponse.Types.QueryExpansionInfo other)
Parameter | |
---|---|
Name | Description |
other | SearchResponse.Types.QueryExpansionInfo |
Properties
ExpandedQuery
public bool ExpandedQuery { get; set; }
Bool describing whether query expansion has occurred.
Property Value | |
---|---|
Type | Description |
Boolean |
PinnedResultCount
public long PinnedResultCount { get; set; }
Number of pinned results. This field will only be set when expansion happens and [SearchRequest.query_expansion_spec.pin_unexpanded_results][] is set to true.
Property Value | |
---|---|
Type | Description |
Int64 |