Elasticsearch TTL enabled on existing index -


i cannot find documentation on elasticsearch ttl field. have index has documents stored in it. if enable ttl on index, new ttl apply existing documents?

similarly, if modify default ttl later, new ttl apply existing documents or new documents point forward?

i don't know how missed first time, elasticsearch documentation explain behavior.

source: http://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-ttl-field.html

you can dynamically update default value using put mapping api. won’t change _ttl of indexed documents used future documents.


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -