diff --git a/addons/elasticsearch/es-settings.json b/addons/elasticsearch/es-settings.json index d23de9e945..359482a09d 100644 --- a/addons/elasticsearch/es-settings.json +++ b/addons/elasticsearch/es-settings.json @@ -111,9 +111,10 @@ "replacement":" $0" }, "truncate_filter": { - "pattern": "(^.{0,100000}).*$", + "pattern": "(.{0,100000}).*", "type": "pattern_replace", - "replacement": "$1 " + "replacement": "$1", + "flags": "DOTALL" } } }