# Time to live question: Can mortals and immortals live together in the same index?

**URL:** <https://discuss.elastic.co/t/time-to-live-question-can-mortals-and-immortals-live-together-in-the-same-index/11368>\
**Category:** Elasticsearch\
**Created:** [March 28, 2013, 10:56pm UTC](https://discuss.elastic.co/t/time-to-live-question-can-mortals-and-immortals-live-together-in-the-same-index/11368 "2013-03-28T22:56:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [March 28, 2013, 10:56pm UTC](https://discuss.elastic.co/t/time-to-live-question-can-mortals-and-immortals-live-together-in-the-same-index/11368/1 "2013-03-28T22:56:11Z")

</div>

After reading the documentation on TTL, it seems as though the following is  
not supported:

Enable TLL processing but by default all documents live forever, and only  
specific documents are indexed with "\_ttl":"_time_" so that they are  
expired after the _time_ has passed.

Or is this an all-or-nothing proposition in which all documents are given a  
TLL (even if a default).

In other words, if any documents are immortal, then all must be immortal?  
And if at least one is to be made mortal, then all are mortal?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:43am UTC](https://discuss.elastic.co/t/time-to-live-question-can-mortals-and-immortals-live-together-in-the-same-index/11368/2 "2017-07-06T02:43:46Z")

</div>


