Skip to content

/AWS1/CL_QQBDATEATTRBOOSTING00

Provides information on boosting DATE type document attributes.

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 tier ranking of boosting applied to document attributes. For version 2, this parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second highest, etc.) and determines the order in which attributes influence document ranking in search results. For version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and make this value TWO.

Optional arguments:

iv_boostingdurationinseconds TYPE /AWS1/QQBBOOSTINGDURINSECONDS /AWS1/QQBBOOSTINGDURINSECONDS

Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.


Queryable Attributes

boostingLevel

Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second highest, etc.) and determines the order in which attributes influence document ranking in search results. For version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and make this value TWO.

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

boostingDurationInSeconds

Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.

Accessible with the following methods

Method Description
GET_BOOSTINGDURINSECONDS() Getter for BOOSTINGDURATIONINSECONDS, with configurable defa
ASK_BOOSTINGDURINSECONDS() Getter for BOOSTINGDURATIONINSECONDS w/ exceptions if field
HAS_BOOSTINGDURINSECONDS() Determine if BOOSTINGDURATIONINSECONDS has a value