Class CfnIndex.ValueImportanceItemProperty
Specifies a key-value pair of the search boost value for a document when the key is part of the metadata of a document.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Kendra
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnIndex.ValueImportanceItemProperty : CfnIndex.IValueImportanceItemProperty
Syntax (vb)
Public Class CfnIndex.ValueImportanceItemProperty Implements CfnIndex.IValueImportanceItemProperty
Remarks
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 valueImportanceItemProperty = new ValueImportanceItemProperty {
Key = "key",
Value = 123
};
Synopsis
Constructors
ValueImportanceItemProperty() | Specifies a key-value pair of the search boost value for a document when the key is part of the metadata of a document. |
Properties
Key | The document metadata value used for the search boost. |
Value | The boost value for a document when the key is part of the metadata of a document. |
Constructors
ValueImportanceItemProperty()
Specifies a key-value pair of the search boost value for a document when the key is part of the metadata of a document.
public ValueImportanceItemProperty()
Remarks
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 valueImportanceItemProperty = new ValueImportanceItemProperty {
Key = "key",
Value = 123
};
Properties
Key
The document metadata value used for the search boost.
public string? Key { get; set; }
Property Value
Remarks
Value
The boost value for a document when the key is part of the metadata of a document.
public double? Value { get; set; }