Don't use ttl for that kind of usage but prefer time based indices.
Much more efficient.

So the year index won't have any removal and you will end up to just remove 
weekly indices which is super fast and doesn't generate a lot of IO (but ttl 
does)

HTH

David

> Le 14 janv. 2015 à 14:01, Behrad Zari <[email protected]> a écrit :
> 
> My data contains a weekly ttl so my ES index will loose older data, however I 
> want to have another accumulative large index containing a year of my data... 
> How can I instruct ES/sync my second index without affecting ttls in the 
> first index? ( I don't want deleted docs from first index to be deleted in 
> the second)
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/elasticsearch/08f4979d-ccd4-431a-96b9-3e2911c9ae80%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/48E15A95-E2E6-4347-9040-A7789466A378%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to