Skip to content

Commit

Permalink
Remove "_ttl" in index mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Schalanda committed Jun 29, 2016
1 parent af3d684 commit bbfe28b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ public Map<String, Object> messageMapping(final String analyzer) {
return ImmutableMap.of(
"properties", partFieldProperties(analyzer),
"dynamic_templates", partDefaultAllInDynamicTemplate(),
"_source", enabled(),
// Enable purging by TTL
"_ttl", enabled());
"_source", enabled());
}

/*
Expand Down

0 comments on commit bbfe28b

Please sign in to comment.