Interface DateAttributeBoostingConfiguration.Builder

  • Method Details

    • boostingLevel

      DateAttributeBoostingConfiguration.Builder boostingLevel(String boostingLevel)

      Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second highest, etc.) and determines the order in which attributes influence document ranking in search results. For version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and make this value TWO.

      Parameters:
      boostingLevel - Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second highest, etc.) and determines the order in which attributes influence document ranking in search results. For version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and make this value TWO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • boostingLevel

      Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second highest, etc.) and determines the order in which attributes influence document ranking in search results. For version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and make this value TWO.

      Parameters:
      boostingLevel - Specifies the priority tier ranking of boosting applied to document attributes. For version 2, this parameter indicates the relative ranking between boosted fields (ONE being highest priority, TWO being second highest, etc.) and determines the order in which attributes influence document ranking in search results. For version 1, this parameter specifies the boosting intensity. For version 2, boosting intensity (VERY HIGH, HIGH, MEDIUM, LOW, NONE) are not supported. Note that in version 2, you are not allowed to boost on only one field and make this value TWO.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • boostingDurationInSeconds

      DateAttributeBoostingConfiguration.Builder boostingDurationInSeconds(Long boostingDurationInSeconds)

      Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.

      Parameters:
      boostingDurationInSeconds - Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
      Returns:
      Returns a reference to this object so that method calls can be chained together.