From bbfe28bdfc439ae5324b3ebd342aae7aea1a23a3 Mon Sep 17 00:00:00 2001 From: Jochen Schalanda Date: Wed, 29 Jun 2016 15:17:08 +0200 Subject: [PATCH] Remove "_ttl" in index mapping Refs elastic/elasticsearch#19031 --- .../src/main/java/org/graylog2/indexer/IndexMapping.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/graylog2-server/src/main/java/org/graylog2/indexer/IndexMapping.java b/graylog2-server/src/main/java/org/graylog2/indexer/IndexMapping.java index 3565d95897bc..fcd61b2daa4e 100644 --- a/graylog2-server/src/main/java/org/graylog2/indexer/IndexMapping.java +++ b/graylog2-server/src/main/java/org/graylog2/indexer/IndexMapping.java @@ -52,9 +52,7 @@ public Map messageMapping(final String analyzer) { return ImmutableMap.of( "properties", partFieldProperties(analyzer), "dynamic_templates", partDefaultAllInDynamicTemplate(), - "_source", enabled(), - // Enable purging by TTL - "_ttl", enabled()); + "_source", enabled()); } /*