Interface Boost

    • Method Detail

      • getName

        String getName()
        The name of the boost
        Returns:
        the name
      • setName

        Boost setName​(String name)
        Set the name of the boost
        Parameters:
        name - The boost name
        Returns:
        The Boost object
      • 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