Interface Boost

    • Method Detail

      • getFactor

        BigDecimal getFactor()
        Alter the impact of a boost on the score of a document. Must be between 0 and 10. Defaults to 1.0. A negative factor or fractional factor will not deboost a result. The factor parameter multiplies the value of the boost but does not significantly affect the decay function scale.
        Returns:
        The factor
      • setFactor

        Boost setFactor​(BigDecimal factor)
        Alter the impact of a boost on the score of a document. Must be between 0 and 10. Defaults to 1.0. A negative factor or fractional factor will not deboost a result. The factor parameter multiplies the value of the boost but does not significantly affect the decay function scale.
        Parameters:
        factor - A value between (inclusive) 0.0 and 10.0
        Returns:
        The boost