From 771a34d47dd27eb4f23d5d18a6fa1d220d544836 Mon Sep 17 00:00:00 2001 From: Areek Zillur Date: Thu, 17 Mar 2016 16:29:58 -0400 Subject: [PATCH] change shard state format to smile --- .../java/org/elasticsearch/index/shard/ShardStateMetaData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/index/shard/ShardStateMetaData.java b/core/src/main/java/org/elasticsearch/index/shard/ShardStateMetaData.java index 315371c7286..407f271fd65 100644 --- a/core/src/main/java/org/elasticsearch/index/shard/ShardStateMetaData.java +++ b/core/src/main/java/org/elasticsearch/index/shard/ShardStateMetaData.java @@ -102,7 +102,7 @@ public final class ShardStateMetaData { return "version [" + legacyVersion + "], primary [" + primary + "], allocation [" + allocationId + "]"; } - public static final MetaDataStateFormat FORMAT = new MetaDataStateFormat(XContentType.JSON, SHARD_STATE_FILE_PREFIX) { + public static final MetaDataStateFormat FORMAT = new MetaDataStateFormat(XContentType.SMILE, SHARD_STATE_FILE_PREFIX) { @Override protected XContentBuilder newXContentBuilder(XContentType type, OutputStream stream) throws IOException {