

# FieldForReranking
<a name="API_FieldForReranking"></a>

Specifies a field to be used during the reranking process in a Knowledge Base vector search. This structure identifies metadata fields that should be considered when reordering search results to improve relevance.

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

 ** fieldName **   <a name="bedrock-Type-FieldForReranking-fieldName"></a>
The name of the metadata field to be used during the reranking process.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2000.  
Required: Yes

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

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-2023-04-20/FieldForReranking) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-2023-04-20/FieldForReranking) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-2023-04-20/FieldForReranking) 