Mapping: Failure to update _source mapping - compress and compress_threshold, closes #800.
This commit is contained in:
parent
8f8fb89c4e
commit
61034f5c86
|
@ -505,6 +505,11 @@ public class XContentDocumentMapper implements DocumentMapper, ToXContent {
|
||||||
XContentDocumentMapper xContentMergeWith = (XContentDocumentMapper) mergeWith;
|
XContentDocumentMapper xContentMergeWith = (XContentDocumentMapper) mergeWith;
|
||||||
MergeContext mergeContext = new MergeContext(this, mergeFlags);
|
MergeContext mergeContext = new MergeContext(this, mergeFlags);
|
||||||
rootObjectMapper.merge(xContentMergeWith.rootObjectMapper, mergeContext);
|
rootObjectMapper.merge(xContentMergeWith.rootObjectMapper, mergeContext);
|
||||||
|
|
||||||
|
allFieldMapper.merge(xContentMergeWith.allFieldMapper, mergeContext);
|
||||||
|
analyzerMapper.merge(xContentMergeWith.analyzerMapper, mergeContext);
|
||||||
|
sourceFieldMapper.merge(xContentMergeWith.sourceFieldMapper, mergeContext);
|
||||||
|
|
||||||
if (!mergeFlags.simulate()) {
|
if (!mergeFlags.simulate()) {
|
||||||
// let the merge with attributes to override the attributes
|
// let the merge with attributes to override the attributes
|
||||||
meta = mergeWith.meta();
|
meta = mergeWith.meta();
|
||||||
|
|
Loading…
Reference in New Issue