class Aws::Kendra::Types::DocumentRelevanceConfiguration

Overrides the document relevance properties of a custom index field.

@note When making an API call, you may pass DocumentRelevanceConfiguration

data as a hash:

    {
      name: "DocumentMetadataConfigurationName", # required
      relevance: { # required
        freshness: false,
        importance: 1,
        duration: "Duration",
        rank_order: "ASCENDING", # accepts ASCENDING, DESCENDING
        value_importance_map: {
          "ValueImportanceMapKey" => 1,
        },
      },
    }

@!attribute [rw] name

The name of the tuning configuration to override document relevance
at the index level.
@return [String]

@!attribute [rw] relevance

Provides information for manually 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.
@return [Types::Relevance]

@see docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DocumentRelevanceConfiguration AWS API Documentation

Constants

SENSITIVE