Interface StringAttributeBoostingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StringAttributeBoostingConfiguration.Builder,
,StringAttributeBoostingConfiguration> SdkBuilder<StringAttributeBoostingConfiguration.Builder,
,StringAttributeBoostingConfiguration> SdkPojo
- Enclosing class:
StringAttributeBoostingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionattributeValueBoosting
(Map<String, StringAttributeValueBoostingLevel> attributeValueBoosting) Specifies specific values of aSTRING
type document attribute being boosted.attributeValueBoostingWithStrings
(Map<String, String> attributeValueBoosting) Specifies specific values of aSTRING
type document attribute being boosted.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
StringAttributeBoostingConfiguration.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:
-
attributeValueBoostingWithStrings
StringAttributeBoostingConfiguration.Builder attributeValueBoostingWithStrings(Map<String, String> attributeValueBoosting) Specifies specific values of a
STRING
type document attribute being boosted. When usingNativeIndexConfiguration
version 2, you can specify up to five values in order of priority.- Parameters:
attributeValueBoosting
- Specifies specific values of aSTRING
type document attribute being boosted. When usingNativeIndexConfiguration
version 2, you can specify up to five values in order of priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValueBoosting
StringAttributeBoostingConfiguration.Builder attributeValueBoosting(Map<String, StringAttributeValueBoostingLevel> attributeValueBoosting) Specifies specific values of a
STRING
type document attribute being boosted. When usingNativeIndexConfiguration
version 2, you can specify up to five values in order of priority.- Parameters:
attributeValueBoosting
- Specifies specific values of aSTRING
type document attribute being boosted. When usingNativeIndexConfiguration
version 2, you can specify up to five values in order of priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-