Interface NativeIndexConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NativeIndexConfiguration.Builder,
,NativeIndexConfiguration> SdkBuilder<NativeIndexConfiguration.Builder,
,NativeIndexConfiguration> SdkPojo
- Enclosing class:
NativeIndexConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionboostingOverride
(Map<String, DocumentAttributeBoostingConfiguration> boostingOverride) Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.The identifier for the Amazon Q Business index.A read-only field that specifies the version of theNativeIndexConfiguration
.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
-
indexId
The identifier for the Amazon Q Business index.
- Parameters:
indexId
- The identifier for the Amazon Q Business index.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
version
A read-only field that specifies the version of the
NativeIndexConfiguration
.Amazon Q Business introduces enhanced document retrieval capabilities in version 2 of
NativeIndexConfiguration
, focusing on streamlined metadata boosting that prioritizes recency and source relevance to deliver more accurate responses to your queries. Version 2 has the following differences from version 1:-
Version 2 supports a single Date field (created_at OR last_updated_at) for recency boosting
-
Version 2 supports a single String field with an ordered list of up to 5 values
-
Version 2 introduces number-based boost levels (ONE, TWO) alongside the text-based levels
-
Version 2 allows specifying prioritization between Date and String fields
-
Version 2 maintains backward compatibility with existing configurations
- Parameters:
version
- A read-only field that specifies the version of theNativeIndexConfiguration
.Amazon Q Business introduces enhanced document retrieval capabilities in version 2 of
NativeIndexConfiguration
, focusing on streamlined metadata boosting that prioritizes recency and source relevance to deliver more accurate responses to your queries. Version 2 has the following differences from version 1:-
Version 2 supports a single Date field (created_at OR last_updated_at) for recency boosting
-
Version 2 supports a single String field with an ordered list of up to 5 values
-
Version 2 introduces number-based boost levels (ONE, TWO) alongside the text-based levels
-
Version 2 allows specifying prioritization between Date and String fields
-
Version 2 maintains backward compatibility with existing configurations
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
boostingOverride
NativeIndexConfiguration.Builder boostingOverride(Map<String, DocumentAttributeBoostingConfiguration> boostingOverride) Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
- Parameters:
boostingOverride
- Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-