From 08ba05e71336d78cec3327d342a1b3578a5f1069 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 2 Aug 2012 14:19:24 +0200 Subject: [PATCH] Overwrite ignore_above parameter when mapping is updated. Issue #2121 --- .../org/elasticsearch/index/mapper/core/StringFieldMapper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java b/src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java index abaa10e4306..32da8045082 100644 --- a/src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java +++ b/src/main/java/org/elasticsearch/index/mapper/core/StringFieldMapper.java @@ -298,6 +298,7 @@ public class StringFieldMapper extends AbstractFieldMapper implements Al if (!mergeContext.mergeFlags().simulate()) { this.includeInAll = ((StringFieldMapper) mergeWith).includeInAll; this.nullValue = ((StringFieldMapper) mergeWith).nullValue; + this.ignoreAbove = ((StringFieldMapper) mergeWith).ignoreAbove; } }