adding ttl for documents
Merge pull request #453 from pentarim/master

adding ttl for documents
Avoid index reset error in case of unexistant index
Merge remote-tracking branch 'upstream/master'