@Binh, thank you, you are right, I find the reference here: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-index_.html#index-ttl
but the problem is that, the TTL doesn't work when indexing a document, while it works when defined in type mapping. The user encountered the same problem with me: http://stackoverflow.com/questions/16914864/how-to-make-elasticsearch-document-ttl-work Actually I don't know why. On Friday, February 21, 2014 9:38:44 PM UTC+8, Binh Ly wrote: > > It should be milliseconds. > -- 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/eab07716-d4ad-4266-aedc-3762c67fedb5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
