public static interface SearchRequest.RelevanceScoreSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getReturnRelevanceScore()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean getReturnRelevanceScore()
Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.
bool return_relevance_score = 1 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.