Class: Google::Cloud::Retail::V2::CatalogAttribute::FacetConfig::RerankConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/catalog.rb

Overview

Options to rerank based on facet values engaged by the user for the current key. That key needs to be a custom textual key and facetable. To use this control, you also need to pass all the facet keys engaged by the user in the request using the field [SearchRequest.FacetSpec]. In particular, if you don't pass the facet keys engaged that you want to rerank on, this control won't be effective. Moreover, to obtain better results, the facet values that you want to rerank on should be close to English (ideally made of words, underscores, and spaces).

Instance Attribute Summary collapse

Instance Attribute Details

#facet_values::Array<::String>



305
306
307
308
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 305

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

#rerank_facet::Boolean



305
306
307
308
# File 'proto_docs/google/cloud/retail/v2/catalog.rb', line 305

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