Interface SearchRequest.RelevanceScoreSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchRequest.RelevanceScoreSpec, SearchRequest.RelevanceScoreSpec.Builder
Enclosing class:
SearchRequest

public static interface SearchRequest.RelevanceScoreSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getReturnRelevanceScore

      boolean 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];
      Returns:
      The returnRelevanceScore.