Elastic search - Disk space utilization

Hi All
I am new to this elastic search, i have set up 1 node and below is the parent folder where the indices are getting stored.
/apps/jboss/elasticsearch/data
The query is , this filesystem is getting filled up very fast when ever there is a search in the elastic search.
When i try deleting the folders inside the indices , the index pattern i created gets gone from the console. Please help me to housekeep this filesystem without affecting the indexpattern.

Thanks
Lok

Hi @Lok,

Elasticsearch doesn't write anything to disk when you are searching. There must be something indexing documents into it.

This sounds like a very bad idea. Don't do anything yourself to the contents of a data folder. If you do, it may corrupt all your data. If you want to delete an index, use the delete index API.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.