Class: Aws::QBusiness::Types::StringAttributeBoostingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb

Overview

Provides information on boosting STRING type document attributes.

For STRING and STRING_LIST type document attributes to be used for boosting on the console and the API, they must be enabled for search using the DocumentAttributeConfiguration object of the UpdateIndex API. If you haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console or the API.

For more information on how boosting document attributes work in Amazon Q Business, see Boosting using document attributes.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_value_boostingHash<String,String>

Specifies specific values of a STRING type document attribute being boosted.

Returns:

  • (Hash<String,String>)


6890
6891
6892
6893
6894
6895
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 6890

class StringAttributeBoostingConfiguration < Struct.new(
  :boosting_level,
  :attribute_value_boosting)
  SENSITIVE = []
  include Aws::Structure
end

#boosting_levelString

Specifies how much a document attribute is boosted.

Returns:

  • (String)


6890
6891
6892
6893
6894
6895
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 6890

class StringAttributeBoostingConfiguration < Struct.new(
  :boosting_level,
  :attribute_value_boosting)
  SENSITIVE = []
  include Aws::Structure
end