Class RankEvalMetricRatingTreshold.AbstractBuilder<BuilderT extends RankEvalMetricRatingTreshold.AbstractBuilder<BuilderT>>

java.lang.Object
co.elastic.clients.elasticsearch._core.rank_eval.RankEvalMetricBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._core.rank_eval.RankEvalMetricRatingTreshold.AbstractBuilder<BuilderT>
Direct Known Subclasses:
RankEvalMetricMeanReciprocalRank.Builder, RankEvalMetricPrecision.Builder, RankEvalMetricRecall.Builder
Enclosing class:
RankEvalMetricRatingTreshold

protected abstract static class RankEvalMetricRatingTreshold.AbstractBuilder<BuilderT extends RankEvalMetricRatingTreshold.AbstractBuilder<BuilderT>>
extends RankEvalMetricBase.AbstractBuilder<BuilderT>
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected AbstractBuilder()  
  • Method Summary

    Modifier and Type Method Description
    BuilderT relevantRatingThreshold​(java.lang.Integer value)
    Sets the rating threshold above which documents are considered to be "relevant".

    Methods inherited from class co.elastic.clients.elasticsearch._core.rank_eval.RankEvalMetricBase.AbstractBuilder

    k, self

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder()
  • Method Details

    • relevantRatingThreshold

      public BuilderT relevantRatingThreshold​(@Nullable java.lang.Integer value)
      Sets the rating threshold above which documents are considered to be "relevant".

      API name: relevant_rating_threshold