Class: Aws::QBusiness::Types::NumberAttributeBoostingConfiguration

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

Overview

Provides information on boosting NUMBER type document attributes.

In the current boosting implementation, boosting focuses primarily on DATE attributes for recency and STRING attributes for source prioritization. NUMBER attributes can serve as additional boosting factors when needed, but are not supported when using NativeIndexConfiguration version 2.

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

#boosting_levelString

Specifies the priority of boosted document attributes in relation to other boosted attributes. This parameter determines how strongly the attribute influences document ranking in search results. NUMBER attributes can serve as additional boosting factors when needed, but are not supported when using NativeIndexConfiguration version 2.

Returns:

  • (String)


7149
7150
7151
7152
7153
7154
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 7149

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

#boosting_typeString

Specifies whether higher or lower numeric values should be prioritized when boosting. Valid values are ASCENDING (higher numbers are more important) and DESCENDING (lower numbers are more important).

Returns:

  • (String)


7149
7150
7151
7152
7153
7154
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 7149

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