

# DocumentRelevanceConfiguration
<a name="API_DocumentRelevanceConfiguration"></a>

Overrides the document relevance properties of a custom index field.

## Contents
<a name="API_DocumentRelevanceConfiguration_Contents"></a>

 ** Name **   <a name="kendra-Type-DocumentRelevanceConfiguration-Name"></a>
The name of the index field.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 30.  
Required: Yes

 ** Relevance **   <a name="kendra-Type-DocumentRelevanceConfiguration-Relevance"></a>
Provides information for tuning the relevance of a field in a search. When a query includes terms that match the field, the results are given a boost in the response based on these tuning parameters.  
Type: [Relevance](API_Relevance.md) object  
Required: Yes

## See Also
<a name="API_DocumentRelevanceConfiguration_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/kendra-2019-02-03/DocumentRelevanceConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/kendra-2019-02-03/DocumentRelevanceConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/kendra-2019-02-03/DocumentRelevanceConfiguration) 

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Kendra. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query kendra` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
