I'm using Elasticsearch 7.5.2 on uBuntu. Recently, I began using elasticsearch to display relevant search results on every page load. This shot up the volume; but I also found out that it has created large index files. Note that I'm using 'app-search' to power my queries.
Here's the sample index files that are occupying too much space:
.app-search-analytics-logs-loco_togo_production-7.1.0-2020.01.26 => 52 GB
.app-search-analytics-logs-loco_togo_production-7.1.0-2020.01.27 => 53 GB
I tried deleting these using CURL, but they reappear and show lesser space (~5 GB each).
Following is the command I used -
curl -XDELETE -u myUserName:MyPassWord "http://localhost:9200/.app-search-app-logs-loco_togo_production-7.1.0-2020.01.25"
throws following error -
"root_cause":[{"type":"index_not_found_exception","reason":"no such index
I want to know if there is a way to control these indexes. I'm not sure what purpose do these indices solve and if there is a way to prevent them?
Thank you in advance.