From 57ea1abb55487278a014171fde0c7fea5f2eed14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Fri, 11 Nov 2016 14:49:17 +0100 Subject: [PATCH] Fixing compile error in SmokeTestRankEvalWithMustacheYAMLTestSuiteIT --- .../elasticsearch/index/rankeval/DiscountedCumulativeGain.java | 2 +- .../smoketest/SmokeTestRankEvalWithMustacheYAMLTestSuiteIT.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/DiscountedCumulativeGain.java b/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/DiscountedCumulativeGain.java index a82e8ad65ff..65af4ec193a 100644 --- a/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/DiscountedCumulativeGain.java +++ b/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/DiscountedCumulativeGain.java @@ -99,7 +99,7 @@ public class DiscountedCumulativeGain implements RankedListQualityMetric { } /** - * check whether this metric computes only dcg or "normalized" ndcg + * get the rating used for unrated documents */ public Integer getUnknownDocRating() { return this.unknownDocRating; diff --git a/qa/smoke-test-rank-eval-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestRankEvalWithMustacheYAMLTestSuiteIT.java b/qa/smoke-test-rank-eval-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestRankEvalWithMustacheYAMLTestSuiteIT.java index 6fc2829c4a4..92c60b6f090 100644 --- a/qa/smoke-test-rank-eval-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestRankEvalWithMustacheYAMLTestSuiteIT.java +++ b/qa/smoke-test-rank-eval-with-mustache/src/test/java/org/elasticsearch/smoketest/SmokeTestRankEvalWithMustacheYAMLTestSuiteIT.java @@ -36,7 +36,7 @@ public class SmokeTestRankEvalWithMustacheYAMLTestSuiteIT extends ESClientYamlSu @ParametersFactory public static Iterable parameters() throws IOException, ClientYamlTestParseException { - return ESClientYamlSuiteTestCase.createParameters(0, 1); + return ESClientYamlSuiteTestCase.createParameters(); } }