revert back a stupid bug in setting compress to true always introduced in the last commit
This commit is contained in:
parent
49deb80d03
commit
5dcba8a38c
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue