public static interface SearchResponse.QueryExpansionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getExpandedQuery()
Bool describing whether query expansion has occurred.
|
long |
getPinnedResultCount()
Number of pinned results.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getExpandedQuery()
Bool describing whether query expansion has occurred.
bool expanded_query = 1;long getPinnedResultCount()
Number of pinned results. This field will only be set when expansion happens and [SearchRequest.QueryExpansionSpec.pin_unexpanded_results][google.cloud.retail.v2beta.SearchRequest.QueryExpansionSpec.pin_unexpanded_results] is set to true.
int64 pinned_result_count = 2;Copyright © 2024 Google LLC. All rights reserved.