Class: Google::Cloud::DiscoveryEngine::V1::SearchResponse::QueryExpansionInfo

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

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.



1307
1308
1309
1310
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1307

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:



1307
1308
1309
1310
# File 'proto_docs/google/cloud/discoveryengine/v1/search_service.rb', line 1307

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