Class GetIndexDocumentMetadataConfigurationUpdateRelevance


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

      • duration

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

        public java.lang.Boolean freshness()
        Returns:
        How "fresh" a document is. For more information, refer to [Freshness](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Relevance.html#Kendra-Type-Relevance-Freshness).
      • importance

        public java.lang.Integer importance()
        Returns:
        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.lang.String rankOrder()
        Returns:
        How values should be interpreted. For more information, refer to [RankOrder](https://docs.aws.amazon.com/kendra/latest/APIReference/API_Relevance.html#Kendra-Type-Relevance-RankOrder).
      • valuesImportanceMap

        public java.util.Map<java.lang.String,​java.lang.Integer> valuesImportanceMap()
        Returns:
        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/APIReference/API_Relevance.html#Kendra-Type-Relevance-ValueImportanceMap).