Class: Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::QueryExpansionInfo

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

Overview

Information describing query expansion including whether expansion has occurred.

Instance Attribute Summary collapse

Instance Attribute Details

#expanded_query::Boolean

Returns Bool describing whether query expansion has occurred.

Returns:

  • (::Boolean)

    Bool describing whether query expansion has occurred.



878
879
880
881
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 878

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

#pinned_result_count::Integer

Returns Number of pinned results. This field will only be set when expansion happens and SearchRequest.QueryExpansionSpec.pin_unexpanded_results is set to true.

Returns:



878
879
880
881
# File 'proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb', line 878

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