revert back a stupid bug in setting compress to true always introduced in the last commit

This commit is contained in:
kimchy 2010-12-26 12:05:22 +02:00
parent 49deb80d03
commit 5dcba8a38c
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class SourceFieldMapper extends AbstractFieldMapper<byte[]> implements or
super(new Names(name, name, name, name), Defaults.INDEX, Defaults.STORE, Defaults.TERM_VECTOR, Defaults.BOOST, 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); Defaults.OMIT_NORMS, Defaults.OMIT_TERM_FREQ_AND_POSITIONS, Lucene.KEYWORD_ANALYZER, Lucene.KEYWORD_ANALYZER);
this.enabled = enabled; this.enabled = enabled;
this.compress = true; this.compress = compress;
this.compressThreshold = compressThreshold; this.compressThreshold = compressThreshold;
this.fieldSelector = new SourceFieldSelector(names.indexName()); this.fieldSelector = new SourceFieldSelector(names.indexName());
} }