Class RRFRanker.Builder

    • Method Detail

      • withK

        public RRFRanker.Builder withK​(@NonNull
                                       @NonNull Integer k)
        Sets k factor for RRF. Value cannot be negative. Default value is 60. score = 1 / (k + float32(rank_i+1)) rank_i is the rank in each field
        Parameters:
        k - factor value
        Returns:
        Builder