What version of Elasticsearch? Of Java?

How is TTL being used? For example, one extreme is to constantly add log 
data and then delete old data. This case is, of course, best handled with 
time-based indices and a tool such as curator to delete old data by index 
and not by individual document via TTL.

I have run some test cases with TTL using Elasticsearch 1.3.0 and Java 
7u60. I set a _ttl value of 5m and hammered Elasticsearch. After some time 
passed and several million documents had been added, I shut down the test 
and watched the TTL processing clean up. It took some time but it always 
succeeded. It was rather nice to see that my TTL tests were self-cleaning: 
I always ended up with an empty index after each run.

This discussion may also shed a bit of light: 
http://elasticsearch-users.115913.n3.nabble.com/TTL-Load-Problems-td4024001.html

Brian

-- 
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/8544b414-5017-465e-bdd2-665e0e52db7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to