Interface CfnIndex.RelevanceProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIndex.RelevanceProperty.Jsii$Proxy
Enclosing class:
CfnIndex

@Stability(Stable) public static interface CfnIndex.RelevanceProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.kendra.*;
 RelevanceProperty relevanceProperty = RelevanceProperty.builder()
         .duration("duration")
         .freshness(false)
         .importance(123)
         .rankOrder("rankOrder")
         .valueImportanceItems(List.of(ValueImportanceItemProperty.builder()
                 .key("key")
                 .value(123)
                 .build()))
         .build();
 

See Also: