Class IndexDocumentMetadataConfigurationUpdateRelevance


  • public final class IndexDocumentMetadataConfigurationUpdateRelevance
    extends java.lang.Object
    • Method Detail

      • duration

        public java.util.Optional<java.lang.String> duration()
        Returns:
        Specifies the time period that the boost applies to. For more information, refer to [Duration](https://docs.aws.amazon.com/kendra/latest/dg/API_Relevance.html#Kendra-Type-Relevance-Duration).
      • freshness

        public java.util.Optional<java.lang.Boolean> freshness()
        Returns:
        Indicates that this field determines how "fresh" a document is. For more information, refer to [Freshness](https://docs.aws.amazon.com/kendra/latest/dg/API_Relevance.html#Kendra-Type-Relevance-Freshness).
      • importance

        public java.util.Optional<java.lang.Integer> importance()
        Returns:
        The relative importance of the field in the search. Larger numbers provide more of a boost than smaller numbers. Minimum value of 1. Maximum value of 10.
      • rankOrder

        public java.util.Optional<java.lang.String> rankOrder()
        Returns:
        Determines how values should be interpreted. For more information, refer to [RankOrder](https://docs.aws.amazon.com/kendra/latest/dg/API_Relevance.html#Kendra-Type-Relevance-RankOrder).
      • valuesImportanceMap

        public java.util.Map<java.lang.String,​java.lang.Integer> valuesImportanceMap()
        Returns:
        A list of values that should be given a different boost when they appear in the result list. For more information, refer to [ValueImportanceMap](https://docs.aws.amazon.com/kendra/latest/dg/API_Relevance.html#Kendra-Type-Relevance-ValueImportanceMap).