# Why ES remove TTL and how it is replaced?

**URL:** <https://discuss.elastic.co/t/why-es-remove-ttl-and-how-it-is-replaced/60449>\
**Category:** Elasticsearch\
**Created:** [September 14, 2016, 3:42am UTC](https://discuss.elastic.co/t/why-es-remove-ttl-and-how-it-is-replaced/60449 "2016-09-14T03:42:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Post date:** [September 14, 2016, 3:42am UTC](https://discuss.elastic.co/t/why-es-remove-ttl-and-how-it-is-replaced/60449/1 "2016-09-14T03:42:35Z")

</div>

I guess there must be some issues cased by TTL, can anybody share them(like github issue links) to me?  
and how it is replaced?

---

<div class="post-metadata">

**Author:** ![cbuescher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cbuescher/32/60402_2.png) [@cbuescher](https://discuss.elastic.co/u/cbuescher)\
**Post date:** [September 14, 2016, 9:17am UTC](https://discuss.elastic.co/t/why-es-remove-ttl-and-how-it-is-replaced/60449/2 "2016-09-14T09:17:50Z")

</div>

Hi,

This issue has some reasons: [https://github.com/elastic/elasticsearch/issues/18280](https://github.com/elastic/elasticsearch/issues/18280)  
This issue adds some documentation with suggestions how to migrate: [https://github.com/elastic/elasticsearch/pull/19014](https://github.com/elastic/elasticsearch/pull/19014)

This is also part of the documentation about mapping changes in the upcoming 5.0 release: [https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking\_50\_mapping\_changes.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.0/breaking_50_mapping_changes.html)

---

<div class="post-metadata">

**Author:** ![makeyang](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@makeyang](https://discuss.elastic.co/u/makeyang)\
**Post date:** [September 14, 2016, 9:33am UTC](https://discuss.elastic.co/t/why-es-remove-ttl-and-how-it-is-replaced/60449/3 "2016-09-14T09:33:46Z")

</div>

thanks very much. that's exactly what i need.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:20pm UTC](https://discuss.elastic.co/t/why-es-remove-ttl-and-how-it-is-replaced/60449/4 "2017-07-05T22:20:21Z")

</div>


