I am actually using Couchbase ES plugin David, this is my database requirement that data has a weekly ttl, so when data is removed in Couchbase, ES plugin also removes it (using Couchbase's XDCR) within ES.
2015-01-14 16:43 GMT+03:30 David Pilato <[email protected]>: > 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 > <https://groups.google.com/d/msgid/elasticsearch/08f4979d-ccd4-431a-96b9-3e2911c9ae80%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/9Spk2d84FLk/unsubscribe. > To unsubscribe from this group and all its topics, 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 > <https://groups.google.com/d/msgid/elasticsearch/48E15A95-E2E6-4347-9040-A7789466A378%40pilato.fr?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- --Behrad -- 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/CAJFrgeH_NJHp7rJWNXppQzASw6E8Xsh9trxshFaXows%2Bpr3BjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
