From ddecd723a7ea6ddcc795dd01cdcec1092299805f Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 8 May 2012 17:01:46 +0300 Subject: [PATCH] GET document response returns exists field twice, closes #1926. --- src/main/java/org/elasticsearch/index/get/GetResult.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/index/get/GetResult.java b/src/main/java/org/elasticsearch/index/get/GetResult.java index 72325070f0e..4d999b9d070 100644 --- a/src/main/java/org/elasticsearch/index/get/GetResult.java +++ b/src/main/java/org/elasticsearch/index/get/GetResult.java @@ -298,7 +298,6 @@ public class GetResult implements Streamable, Iterable, ToXContent { if (version != -1) { builder.field(Fields._VERSION, version); } - builder.field(Fields.EXISTS, true); toXContentEmbedded(builder, params); builder.endObject();