GET document response returns exists field twice, closes #1926.

This commit is contained in:
Shay Banon 2012-05-08 17:01:46 +03:00
parent 42eda48c15
commit ddecd723a7
1 changed files with 0 additions and 1 deletions

View File

@ -298,7 +298,6 @@ public class GetResult implements Streamable, Iterable<GetField>, ToXContent {
if (version != -1) {
builder.field(Fields._VERSION, version);
}
builder.field(Fields.EXISTS, true);
toXContentEmbedded(builder, params);
builder.endObject();