From 5dcba8a38c23b097425f794c4b42c81411d7f6d7 Mon Sep 17 00:00:00 2001 From: kimchy Date: Sun, 26 Dec 2010 12:05:22 +0200 Subject: [PATCH] revert back a stupid bug in setting compress to true always introduced in the last commit --- .../elasticsearch/index/mapper/xcontent/SourceFieldMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/xcontent/SourceFieldMapper.java b/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/xcontent/SourceFieldMapper.java index 7aaf14ebe6a..daeb2702111 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/xcontent/SourceFieldMapper.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/index/mapper/xcontent/SourceFieldMapper.java @@ -95,7 +95,7 @@ public class SourceFieldMapper extends AbstractFieldMapper implements or super(new Names(name, name, name, name), Defaults.INDEX, Defaults.STORE, Defaults.TERM_VECTOR, Defaults.BOOST, Defaults.OMIT_NORMS, Defaults.OMIT_TERM_FREQ_AND_POSITIONS, Lucene.KEYWORD_ANALYZER, Lucene.KEYWORD_ANALYZER); this.enabled = enabled; - this.compress = true; + this.compress = compress; this.compressThreshold = compressThreshold; this.fieldSelector = new SourceFieldSelector(names.indexName()); }