You can do that I guess using index templates: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-templates.html#indices-templates
-- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 1 septembre 2014 à 16:58:32, Octavian ([email protected]) a écrit: Hello, Is there any setting that specifies the _ttl for all documents from a index? I saw that there is a setting per type, that works[1], but when I try to put the same setting per index, it doesn't work. [1]http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-ttl-field.html Thank you, -- 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/c12e1cb8-a0c8-4842-a955-4b6d15be0977%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/etPan.54048e38.7a6d8d3c.6ef9%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/d/optout.
