amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.DocumentRelevanceConfiguration

Description

 
Synopsis

Documentation

data DocumentRelevanceConfiguration Source #

Overrides the document relevance properties of a custom index field.

See: newDocumentRelevanceConfiguration smart constructor.

Constructors

DocumentRelevanceConfiguration' 

Fields

  • name :: Text

    The name of the index field.

  • relevance :: Relevance

    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.

Instances

Instances details
ToJSON DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

Generic DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

Associated Types

type Rep DocumentRelevanceConfiguration :: Type -> Type #

Read DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

Show DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

NFData DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

Eq DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

Hashable DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

type Rep DocumentRelevanceConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.DocumentRelevanceConfiguration

type Rep DocumentRelevanceConfiguration = D1 ('MetaData "DocumentRelevanceConfiguration" "Amazonka.Kendra.Types.DocumentRelevanceConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DocumentRelevanceConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "relevance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Relevance)))

newDocumentRelevanceConfiguration Source #

Create a value of DocumentRelevanceConfiguration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:DocumentRelevanceConfiguration', documentRelevanceConfiguration_name - The name of the index field.

$sel:relevance:DocumentRelevanceConfiguration', documentRelevanceConfiguration_relevance - 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.

documentRelevanceConfiguration_relevance :: Lens' DocumentRelevanceConfiguration Relevance Source #

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.