_ttl inherited from index settings


(Octavian) #1

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 elasticsearch+unsubscribe@googlegroups.com.
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.


(David Pilato) #2

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 (octavian.rinciog@gmail.com) 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 elasticsearch+unsubscribe@googlegroups.com.
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 elasticsearch+unsubscribe@googlegroups.com.
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.


(Octavian) #3

Thank you very much, this is what I'm looking for.

On Monday, September 1, 2014 6:18:33 PM UTC+3, David Pilato wrote:

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 https://twitter.com/dadoonet | @elasticsearchfr
https://twitter.com/elasticsearchfr

Le 1 septembre 2014 à 16:58:32, Octavian (octavian...@gmail.com
<javascript:>) 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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c12e1cb8-a0c8-4842-a955-4b6d15be0977%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c12e1cb8-a0c8-4842-a955-4b6d15be0977%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 the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d3735bae-4d28-40cc-826f-9cfb46f91475%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4