I'm having trouble with restoring data from an elasticsearch database that contains documents with a ttl of 2 days.
A customer gave us the files forming the database. The documents in there are actually older than two days so that whenever I start elasicsearch, it does a good job on purging the documents.
My question is, how can I prevent elasticsearch from doing so, because I need to analyse the data.
I know, I could probably just change the operating system date/time but I thought there must be another way?
I already tried setting
index.ttl.disable_purge : true in elasticsearch.yml, but that didn't work
Elasticsearch version is 2.2.0