Interface NumberAttributeBoostingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NumberAttributeBoostingConfiguration.Builder,,NumberAttributeBoostingConfiguration> SdkBuilder<NumberAttributeBoostingConfiguration.Builder,,NumberAttributeBoostingConfiguration> SdkPojo
- Enclosing class:
NumberAttributeBoostingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionboostingLevel(String boostingLevel) Specifies the priority of boosted document attributes in relation to other boosted attributes.boostingLevel(DocumentAttributeBoostingLevel boostingLevel) Specifies the priority of boosted document attributes in relation to other boosted attributes.boostingType(String boostingType) Specifies whether higher or lower numeric values should be prioritized when boosting.boostingType(NumberAttributeBoostingType boostingType) Specifies whether higher or lower numeric values should be prioritized when boosting.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
NUMBERattributes can serve as additional boosting factors when needed, but are not supported when usingNativeIndexConfigurationversion 2.- Parameters:
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.NUMBERattributes can serve as additional boosting factors when needed, but are not supported when usingNativeIndexConfigurationversion 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boostingLevel
NumberAttributeBoostingConfiguration.Builder boostingLevel(DocumentAttributeBoostingLevel 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.
NUMBERattributes can serve as additional boosting factors when needed, but are not supported when usingNativeIndexConfigurationversion 2.- Parameters:
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.NUMBERattributes can serve as additional boosting factors when needed, but are not supported when usingNativeIndexConfigurationversion 2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-