Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Understanding boosting in Amazon Q Business

Focus mode
Understanding boosting in Amazon Q Business - Amazon Q Business

To improve retrieved results and customize the end user chat experience, Amazon Q enables you to map attributes to fields in your Amazon Q Business index.

Amazon Q Business offers two kinds of attributes:

  • Reserved or default – Reserved attributes are based on document attributes that commonly occur in most data. You can use reserved attributes to map commonly occurring document attributes in your data to Amazon Q Business index fields.

  • Custom – You can create custom attributes to map document attributes that are unique to your data to Amazon Q Business index fields.

Document attributes can be mapped to index fields using either the Amazon Q console or the API:

  • Use the API – Before you use the API, you must first create an index. Next, create index fields. Then, to ingest documents into your Amazon Q Business index, use the CreateDataSource or BatchPutDocument API operations.

  • Use the console – You can choose to map document attributes directly to your index or from your data sources when you connect your data source to Amazon Q Business.

    You can create and map document attributes to index fields using the Metadata function on the console.

    When you use data sources the your document attributes are added using data sources, Amazon Q Business automatically maps specific data source document fields to Amazon Q Business index fields. You can choose to add custom fields during the data source configuration process as well.

Document attributes—both reserved and custom—can only be of the following data types: DATE, NUMBER, STRING, and STRING_LIST. To use STRING and STRING_LIST type document attributes for boosting on the console and the API, they must be enabled for search. To enable these attributes using API, use the DocumentAttributeConfiguration object of the UpdateIndex API operation.

To customize and control boosting for document attributes, use the boostingOverride parameter of the NativeIndexConfiguration object of the UpdateRetriever API operation.

To enable these attributes using the console, follow the steps in Mapping document attributes directly to index fields.

Note

If you don't enable search on these attributes, you can't boost attributes of these data types on either the Amazon Q Business console or the API.

For more information about Amazon Q Business document attributes and how to map them, see Document attributes and types.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.