Class: Google::Cloud::DiscoveryEngine::V1::SearchRequest::RelevanceScoreSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/search_service.rb

Overview

The specification for returning the document relevance score.

Instance Attribute Summary collapse

Instance Attribute Details

#return_relevance_score::Boolean

Returns Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.

Returns:

  • (::Boolean)

    Optional. Whether to return the relevance score for search results. The higher the score, the more relevant the document is to the query.



1033
1034
1035
1036
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1033

class RelevanceScoreSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end