Uses of Class
org.elasticsearch.index.rankeval.RatedDocument
-
Packages that use RatedDocument Package Description org.elasticsearch.index.rankeval -
-
Uses of RatedDocument in org.elasticsearch.index.rankeval
Methods in org.elasticsearch.index.rankeval that return types with arguments of type RatedDocument Modifier and Type Method Description List<RatedDocument>RatedRequest. getRatedDocs()return the list of rated documents to evaluate.Method parameters in org.elasticsearch.index.rankeval with type arguments of type RatedDocument Modifier and Type Method Description EvalQueryQualityEvaluationMetric. evaluate(String taskId, SearchHit[] hits, List<RatedDocument> ratedDocs)Evaluates a single ranking evaluation case.static List<RatedSearchHit>EvaluationMetric. joinHitsWithRatings(SearchHit[] hits, List<RatedDocument> ratedDocs)Joins hits with rated documents using the joint _index/_id document key.Constructor parameters in org.elasticsearch.index.rankeval with type arguments of type RatedDocument Constructor Description RatedRequest(String id, List<RatedDocument> ratedDocs, Map<String,Object> params, String templateId)Create a rated request with template ids and parameters.RatedRequest(String id, List<RatedDocument> ratedDocs, SearchSourceBuilder evaluatedQuery)Create a rated request using aSearchSourceBuilderto define the evaluated query.
-