| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kendra.Types.DocumentMetadataConfiguration
Description
Synopsis
- data DocumentMetadataConfiguration = DocumentMetadataConfiguration' {}
- newDocumentMetadataConfiguration :: Text -> DocumentAttributeValueType -> DocumentMetadataConfiguration
- documentMetadataConfiguration_relevance :: Lens' DocumentMetadataConfiguration (Maybe Relevance)
- documentMetadataConfiguration_search :: Lens' DocumentMetadataConfiguration (Maybe Search)
- documentMetadataConfiguration_name :: Lens' DocumentMetadataConfiguration Text
- documentMetadataConfiguration_type :: Lens' DocumentMetadataConfiguration DocumentAttributeValueType
Documentation
data DocumentMetadataConfiguration Source #
Specifies the properties, such as relevance tuning and searchability, of an index field.
See: newDocumentMetadataConfiguration smart constructor.
Constructors
| DocumentMetadataConfiguration' | |
Fields
| |
Instances
newDocumentMetadataConfiguration Source #
Arguments
| :: Text | |
| -> DocumentAttributeValueType | |
| -> DocumentMetadataConfiguration |
Create a value of DocumentMetadataConfiguration 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:relevance:DocumentMetadataConfiguration', documentMetadataConfiguration_relevance - Provides tuning parameters to determine how the field affects the search
results.
$sel:search:DocumentMetadataConfiguration', documentMetadataConfiguration_search - Provides information about how the field is used during a search.
$sel:name:DocumentMetadataConfiguration', documentMetadataConfiguration_name - The name of the index field.
$sel:type':DocumentMetadataConfiguration', documentMetadataConfiguration_type - The data type of the index field.
documentMetadataConfiguration_relevance :: Lens' DocumentMetadataConfiguration (Maybe Relevance) Source #
Provides tuning parameters to determine how the field affects the search results.
documentMetadataConfiguration_search :: Lens' DocumentMetadataConfiguration (Maybe Search) Source #
Provides information about how the field is used during a search.
documentMetadataConfiguration_name :: Lens' DocumentMetadataConfiguration Text Source #
The name of the index field.
documentMetadataConfiguration_type :: Lens' DocumentMetadataConfiguration DocumentAttributeValueType Source #
The data type of the index field.