Overwrite ignore_above parameter when mapping is updated. Issue #2121

This commit is contained in:
Martijn van Groningen 2012-08-02 14:19:24 +02:00 committed by Shay Banon
parent de3fb50c3b
commit 08ba05e713
1 changed files with 1 additions and 0 deletions

View File

@ -298,6 +298,7 @@ public class StringFieldMapper extends AbstractFieldMapper<String> implements Al
if (!mergeContext.mergeFlags().simulate()) {
this.includeInAll = ((StringFieldMapper) mergeWith).includeInAll;
this.nullValue = ((StringFieldMapper) mergeWith).nullValue;
this.ignoreAbove = ((StringFieldMapper) mergeWith).ignoreAbove;
}
}