This has nothing to do with Elasticsearch. If somebody deletes content from HDFS you either need to use backup or potentially some type of recycle/thrash capability (though I'm not aware of any such type of functionality).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.