From 5979802415424d159902a23c6e72ef39726b9e3b Mon Sep 17 00:00:00 2001 From: Isabel Drost-Fromm Date: Wed, 24 Aug 2016 15:17:42 +0200 Subject: [PATCH] Add comment wrt to changed xcontent generation --- .../java/org/elasticsearch/index/rankeval/ReciprocalRank.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/ReciprocalRank.java b/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/ReciprocalRank.java index 7b0576cd098..a40ecc1012e 100644 --- a/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/ReciprocalRank.java +++ b/modules/rank-eval/src/main/java/org/elasticsearch/index/rankeval/ReciprocalRank.java @@ -160,7 +160,7 @@ public class ReciprocalRank extends RankedListQualityMetric { @Override public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException { builder.startObject(); - //builder.startObject(NAME); + //builder.startObject(NAME); // TODO for roundtripping to work builder.field(MAX_RANK_FIELD.getPreferredName(), this.maxAcceptableRank); //builder.endObject(); builder.endObject();