TTL that applies to all documents in a collection


(ralg) #1

Hi all.
I know there's a TTL per document. Is there a way to specify TTL that
applies to all documents in a collection?

Thanks,
Rui


(Benjamin Dev├Ęze) #2

Hi,

I am not sure it is what you want but for the moment you can specify a
default TTL to apply to an index/type (
https://github.com/elasticsearch/elasticsearch/issues/1316)


(system) #3