Interface MaxNonCompetitiveBoostAttribute

    • Method Detail

      • setMaxNonCompetitiveBoost

        void setMaxNonCompetitiveBoost​(float maxNonCompetitiveBoost)
        This is the maximum boost that would not be competitive.
      • getMaxNonCompetitiveBoost

        float getMaxNonCompetitiveBoost()
        This is the maximum boost that would not be competitive. Default is negative infinity, which means every term is competitive.
      • setCompetitiveTerm

        void setCompetitiveTerm​(BytesRef competitiveTerm)
        This is the term or null of the term that triggered the boost change.
      • getCompetitiveTerm

        BytesRef getCompetitiveTerm()
        This is the term or null of the term that triggered the boost change. Default is null, which means every term is competitoive.