Interface DateAttributeBoostingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DateAttributeBoostingConfiguration.Builder,
,DateAttributeBoostingConfiguration> SdkBuilder<DateAttributeBoostingConfiguration.Builder,
,DateAttributeBoostingConfiguration> SdkPojo
- Enclosing class:
DateAttributeBoostingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionboostingDurationInSeconds
(Long boostingDurationInSeconds) Specifies the duration, in seconds, of a boost applies to aDATE
type document attribute.boostingLevel
(String boostingLevel) Specifies the priority tier ranking of boosting applied to document attributes.boostingLevel
(DocumentAttributeBoostingLevel boostingLevel) Specifies the priority tier ranking of boosting applied to document attributes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boostingLevel
DateAttributeBoostingConfiguration.Builder boostingLevel(DocumentAttributeBoostingLevel 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boostingDurationInSeconds
DateAttributeBoostingConfiguration.Builder boostingDurationInSeconds(Long boostingDurationInSeconds) Specifies the duration, in seconds, of a boost applies to a
DATE
type document attribute.- Parameters:
boostingDurationInSeconds
- Specifies the duration, in seconds, of a boost applies to aDATE
type document attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-