/AWS1/CL_QQBNOATTRBOOSTINGCONF¶
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.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
iv_boostinglevel
TYPE /AWS1/QQBDOCATTRBOOSTINGLEVEL
/AWS1/QQBDOCATTRBOOSTINGLEVEL
¶
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 usingNativeIndexConfiguration
version 2.
Optional arguments:¶
iv_boostingtype
TYPE /AWS1/QQBNUMATTRBOOSTINGTYPE
/AWS1/QQBNUMATTRBOOSTINGTYPE
¶
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).
Queryable Attributes¶
boostingLevel¶
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 usingNativeIndexConfiguration
version 2.
Accessible with the following methods¶
Method | Description |
---|---|
GET_BOOSTINGLEVEL() |
Getter for BOOSTINGLEVEL, with configurable default |
ASK_BOOSTINGLEVEL() |
Getter for BOOSTINGLEVEL w/ exceptions if field has no value |
HAS_BOOSTINGLEVEL() |
Determine if BOOSTINGLEVEL has a value |
boostingType¶
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).
Accessible with the following methods¶
Method | Description |
---|---|
GET_BOOSTINGTYPE() |
Getter for BOOSTINGTYPE, with configurable default |
ASK_BOOSTINGTYPE() |
Getter for BOOSTINGTYPE w/ exceptions if field has no value |
HAS_BOOSTINGTYPE() |
Determine if BOOSTINGTYPE has a value |