EvaluationMetric
need to provide a way to compute the quality metric for
a result list returned by some search (@link SearchHits
) and a list of rated documents.RatedSearchHit
that don't have a ratingXContentBuilder
passed in.EvaluationMetric
that should be included in the resonse.RankEvalRequest
.SearchSourceBuilder
that will be used
to create the search request for this search intent.SearchHit
with a document rating.