com.groupbyinc.flux.index.rankeval.PrecisionAtK.class Maven / Gradle / Ivy
???? 4? /com/groupbyinc/flux/index/rankeval/PrecisionAtK java/lang/Object 3com/groupbyinc/flux/index/rankeval/EvaluationMetric PrecisionAtK.java 6com/groupbyinc/flux/index/rankeval/PrecisionAtK$Detail Detail 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent
Params %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup NAME Ljava/lang/String; precision RELEVANT_RATING_FIELD 'Lcom/groupbyinc/flux/common/ParseField; IGNORE_UNLABELED_FIELD K_FIELD DEFAULT_K I
ignoreUnlabeled Z relevantRatingThreshhold k PARSER >Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; ?Lcom/groupbyinc/flux/common/xcontent/ConstructingObjectParser; (IZI)V ()V ' )
* "java/lang/IllegalArgumentException , ARelevant rating threshold for precision must be positive integer. . (Ljava/lang/String;)V ' 0
- 1 Window size k must be positive. 3 " 5 ! 7 # 9 this 1Lcom/groupbyinc/flux/index/rankeval/PrecisionAtK; threshold ' (
> 5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)V java/io/IOException A 0com/groupbyinc/flux/common/io/stream/StreamInput C readVInt ()I E F
D G readBoolean ()Z I J
D K in 2Lcom/groupbyinc/flux/common/io/stream/StreamInput; getK writeTo 6(Lcom/groupbyinc/flux/common/io/stream/StreamOutput;)V 1com/groupbyinc/flux/common/io/stream/StreamOutput R writeVInt (I)V T U
S V writeBoolean (Z)V X Y
S Z out 3Lcom/groupbyinc/flux/common/io/stream/StreamOutput; getWriteableName ()Ljava/lang/String; getRelevantRatingThreshold getIgnoreUnlabeled forcedSearchSize ()Ljava/util/Optional; java/lang/Integer d valueOf (I)Ljava/lang/Integer; f g
e h java/util/Optional j of ((Ljava/lang/Object;)Ljava/util/Optional; l m
k n fromXContent g(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/index/rankeval/PrecisionAtK; $ % r