When I send a request to Elastic Search, I get the following error.
In "index name" is the name of the index I created.
{
"error" : {
"root_cause" : [
{
"type" : "index_not_found_exception",
"reason" : "no such index [index name]",
"resource.type" : "index_or_alias",
"resource.id" : "index_name",
"index_uuid" : "_na_",
"index" : "index_name"
}
],
"type" : "index_not_found_exception",
"reason" : "no such index [index name]",
"resource.type" : "index_or_alias",
"resource.id" : "index name",
"index_uuid" : "_na_",
"index" : "index name"
},
"status" : 404
}
The index has been removed as follows.
(I don't remember deleting the index.)
curl localhost:9200/_aliases?pretty
{
"info" : {
"aliases" : { }
}
}
curl localhost:9200/_nodes/status?pretty
{
"_nodes" : {
"total" : 0,
"successful" : 0,
"failed" : 0
},
"cluster_name" : "elasticsearch",
"nodes" : { }
}
ElasticSearch version is 7.0.
About 8GB of data is registered and used as a search database.
Is it possible that the index will automatically disappear?
Am I making a mistake?
If anyone else has had the same phenomenon, please let me know how the index doesn't automatically disappear.
Thank you in advance.