Show / Hide Table of Contents

Interface CfnIndex.IDocumentMetadataConfigurationProperty

Specifies the properties, such as relevance tuning and searchability, of an index field.

Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnIndex.IDocumentMetadataConfigurationProperty
Syntax (vb)
Public Interface CfnIndex.IDocumentMetadataConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Kendra;

             var documentMetadataConfigurationProperty = new DocumentMetadataConfigurationProperty {
                 Name = "name",
                 Type = "type",

                 // the properties below are optional
                 Relevance = new RelevanceProperty {
                     Duration = "duration",
                     Freshness = false,
                     Importance = 123,
                     RankOrder = "rankOrder",
                     ValueImportanceItems = new [] { new ValueImportanceItemProperty {
                         Key = "key",
                         Value = 123
                     } }
                 },
                 Search = new SearchProperty {
                     Displayable = false,
                     Facetable = false,
                     Searchable = false,
                     Sortable = false
                 }
             };

Synopsis

Properties

Name

The name of the index field.

Relevance

Provides tuning parameters to determine how the field affects the search results.

Search

Provides information about how the field is used during a search.

Type

The data type of the index field.

Properties

Name

The name of the index field.

string Name { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-name

Relevance

Provides tuning parameters to determine how the field affects the search results.

object? Relevance { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-relevance

Type union: either IResolvable or CfnIndex.IRelevanceProperty

Search

Provides information about how the field is used during a search.

object? Search { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-search

Type union: either IResolvable or CfnIndex.ISearchProperty

Type

The data type of the index field.

string Type { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-kendra-index-documentmetadataconfiguration.html#cfn-kendra-index-documentmetadataconfiguration-type

Back to top Generated by DocFX