# TTL can be changed for already indexed documents in ES

**URL:** <https://discuss.elastic.co/t/ttl-can-be-changed-for-already-indexed-documents-in-es/12334>\
**Category:** Elasticsearch\
**Created:** [June 9, 2013, 7:20am UTC](https://discuss.elastic.co/t/ttl-can-be-changed-for-already-indexed-documents-in-es/12334 "2013-06-09T07:20:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajan](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ajan](https://discuss.elastic.co/u/ajan)\
**Post date:** [June 9, 2013, 7:20am UTC](https://discuss.elastic.co/t/ttl-can-be-changed-for-already-indexed-documents-in-es/12334/1 "2013-06-09T07:20:27Z")

</div>

Can TTL be changed for documents that are already indexed into ES?

--  
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:** ![Benjamin\_Deveze](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benjamin_deveze/32/1577_2.png) [@Benjamin\_Deveze](https://discuss.elastic.co/u/Benjamin_Deveze)\
**Post date:** [June 9, 2013, 8:27am UTC](https://discuss.elastic.co/t/ttl-can-be-changed-for-already-indexed-documents-in-es/12334/2 "2013-06-09T08:27:24Z")

</div>

Yes via the update API. Have a look at the bottom of this page

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

On Sunday, June 9, 2013, ajan wrote:

> Can TTL be changed for documents that are already indexed into ES?
> 
> --  
> 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) \<javascript:;\>.  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Benjamin DEVEZE

--  
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:32am UTC](https://discuss.elastic.co/t/ttl-can-be-changed-for-already-indexed-documents-in-es/12334/3 "2017-07-06T02:32:04Z")

</div>


