# Receiving the "index\_not\_found\_exception" message

**URL:** <https://discuss.elastic.co/t/receiving-the-index-not-found-exception-message/235467>\
**Category:** Elasticsearch\
**Created:** [June 3, 2020, 5:20am UTC](https://discuss.elastic.co/t/receiving-the-index-not-found-exception-message/235467 "2020-06-03T05:20:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keishi\_suematsu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keishi_suematsu/32/69564_2.png) [@keishi\_suematsu](https://discuss.elastic.co/u/keishi_suematsu)\
**Post date:** [June 3, 2020, 5:20am UTC](https://discuss.elastic.co/t/receiving-the-index-not-found-exception-message/235467/1 "2020-06-03T05:20:10Z")

</div>

When I send a request to Elastic Search, I get the following error.  
In "index name" is the name of the index I created.

```auto
{
  "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.)

```auto
curl localhost:9200/_aliases?pretty
{
  "info" : {
    "aliases" : { }
  }
}

```

```auto
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.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 3, 2020, 5:40am UTC](https://discuss.elastic.co/t/receiving-the-index-not-found-exception-message/235467/2 "2020-06-03T05:40:08Z")

</div>

> [@keishi\_suematsu](#):
>
> Is it possible that the index will automatically disappear?

No, a request needs to be sent for it to be deleted.

Is there anything in the logs?

---

<div class="post-metadata">

**Author:** ![keishi\_suematsu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keishi_suematsu/32/69564_2.png) [@keishi\_suematsu](https://discuss.elastic.co/u/keishi_suematsu)\
**Post date:** [June 3, 2020, 6:30am UTC](https://discuss.elastic.co/t/receiving-the-index-not-found-exception-message/235467/3 "2020-06-03T06:30:59Z")

</div>

now i send a request to Elasticsearch, I get this

```auto
{
  "took" : 2,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 0,
      "relation" : "eq"
    },
    "max_score" : null,
    "hits" : []
  }
}

```

```auto
curl localhost:9200/_aliases?pretty
{
  "info" : {
    "aliases" : { }
  },
  "index_name" : {
    "aliases" : { }
  }
}

```

My earlier post is a log from yesterday.

In a normal case, I can receive the following requests

```auto
{
  "took" : 3119,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 10000,
      "relation" : "gte"
    },
    "max_score" : 68.169464,
    "hits" : [
      {
        "_index" : "index name",
        "_type" : "_doc",
        "_id" : "wgd0bHIBYbh74euT6vYm",
        "_score" : 68.169464,
        "_source" :

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 1, 2020, 6:31am UTC](https://discuss.elastic.co/t/receiving-the-index-not-found-exception-message/235467/4 "2020-07-01T06:31:04Z")

</div>

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