org.elasticsearch.common.io.stream.NamedWriteable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentObject, org.elasticsearch.common.io.stream.WriteableMeanReciprocalRank.Detail, PrecisionAtK.Detailpublic interface MetricDetail
extends org.elasticsearch.common.xcontent.ToXContentObject, org.elasticsearch.common.io.stream.NamedWriteable
EvaluationMetric that should be included in the resonse.| Modifier and Type | Method | Description |
|---|---|---|
default java.lang.String |
getMetricName() |
|
org.elasticsearch.common.xcontent.XContentBuilder |
innerToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
Implementations should write their own fields to the
XContentBuilder passed in. |
default org.elasticsearch.common.xcontent.XContentBuilder |
toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params) |
default org.elasticsearch.common.xcontent.XContentBuilder toXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws java.io.IOException
toXContent in interface org.elasticsearch.common.xcontent.ToXContentjava.io.IOExceptiondefault java.lang.String getMetricName()
org.elasticsearch.common.xcontent.XContentBuilder innerToXContent(org.elasticsearch.common.xcontent.XContentBuilder builder,
org.elasticsearch.common.xcontent.ToXContent.Params params)
throws java.io.IOException
XContentBuilder passed in.java.io.IOException