I am relatively new to elasticsearch, and I was wondering where does Elasticsearch store its records. I installed Elasticsearch on /var/lib/elasticsearch
, and see index being created in this directory. For example, an index
logstash-2016.11.11
creates
/var/lib/elasticsearch/nodes/0/indices/logstash-2016.11.11
I also set replication to 1 so that each record will have two copies.
Later on I deleted the /var/lib/elasticsearch/nodes
folder, and rerun elasticseach again, but find out interestingly the old record still exist with just one copy.
Is Elasticsearch storing the copy somewhere else? Where can I find the other copies. Thank you.