public static interface SearchRequest.QueryExpansionSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
SearchRequest.QueryExpansionSpec.Condition |
getCondition()
The condition under which query expansion should occur.
|
int |
getConditionValue()
The condition under which query expansion should occur.
|
boolean |
getPinUnexpandedResults()
Whether to pin unexpanded results.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getConditionValue()
The condition under which query expansion should occur. Default to [Condition.DISABLED][google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition condition = 1;
SearchRequest.QueryExpansionSpec.Condition getCondition()
The condition under which query expansion should occur. Default to [Condition.DISABLED][google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition.DISABLED].
.google.cloud.retail.v2.SearchRequest.QueryExpansionSpec.Condition condition = 1;
boolean getPinUnexpandedResults()
Whether to pin unexpanded results. If this field is set to true, unexpanded products are always at the top of the search results, followed by the expanded results.
bool pin_unexpanded_results = 2;Copyright © 2024 Google LLC. All rights reserved.