# Can ES 8 read and use the indexes created in ES 6

**URL:** <https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634>\
**Category:** Elasticsearch\
**Created:** [April 17, 2024, 2:18pm UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634 "2024-04-17T14:18:24Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cis4life](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Post date:** [April 17, 2024, 2:18pm UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/1 "2024-04-17T14:18:24Z")

</div>

Hello,

We have indices created in ES 6 (external SAN storage) and we are about to create the latest LTS ES cluster on ES 8. can the data / indexes created in ES6 be read and used with ES 8?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 17, 2024, 3:33pm UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/2 "2024-04-17T15:33:03Z")

</div>

No. Elasticsearch only supports reading indices created in the previous major version. There is a commercial feature that provides limited access to older indices, but that is not available with the free Basic license.

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 17, 2024, 9:03pm UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/3 "2024-04-17T21:03:14Z")

</div>

can he upgrade from es6 to es7 and then to es8?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [April 18, 2024, 1:40am UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/4 "2024-04-18T01:40:26Z")

</div>

Your set of options here are (roughly):

- Run with a paid [enterprise license](https://www.elastic.co/subscriptions) and use [archive indices](https://www.elastic.co/guide/en/elasticsearch/reference/8.3/archive-indices.html#archive-indices)
- Upgrade from ES6 to ES7, [reindex](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html) the data into ES7 format, then upgrade to ES8
- Create a new ES8 cluster, and use [reindex from remote](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html#reindex-from-remote) to migrate the data from the old cluster to the new cluster. ES8 can reindex directly from earlier versions, including ES6
- Create 2 clusters, one running ES7.17 and another running ES8.x
  - Load old ES6 data into the ES7 cluster
  - Put new data into the ES8 cluster
  - Configure the ES7 cluster to be able to search the ES8 cluster as a [CCS remote cluster](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-cross-cluster-search.html)
  - If you need to search the old data, you use the ES7 cluster
  - If you just need to search the new data you use the ES8 cluster and get the latest features.
  - If you need to search across both sets of data, you use the ES7 cluster with CSS (but are restricted to the feature set from ES7)

---

<div class="post-metadata">

**Author:** ![cis4life](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Post date:** [April 25, 2024, 7:53pm UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/5 "2024-04-25T19:53:40Z")

</div>

question:

Do I have to re-index the data one index at a time or can i grab all the indices and reindex them into my new environment?  
Do i run the reindex from my ingest nodes on from my new cluster?

---

<div class="post-metadata">

**Author:** ![cis4life](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Post date:** [April 25, 2024, 7:58pm UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/6 "2024-04-25T19:58:32Z")

</div>

I have my new cluster stood up, but of course when I went to point to the data, the data nodes broke due to incompatibility. So I have both environments stood up.

Not familiar with the ReIndex methods, i was looking at the docs, but didn't see how I can reindex to the new IP (Cluster) from the old IP (Cluster)

OR, would it be best to build a temp 1 cluster machine with ES 7 and point it to the old cluster SAN Store and run the temp cluster and allow it to index all the data into the 7.x format and once complete, turn back on the new cluster and go from there?

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [April 26, 2024, 1:32am UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/7 "2024-04-26T01:32:06Z")

</div>

> [@cis4life](#):
>
> Not familiar with the ReIndex methods, i was looking at the docs, but didn't see how I can reindex to the new IP (Cluster) from the old IP (Cluster)

I linked to the [docs for reindexing from a remote cluster](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html#reindex-from-remote). Are there particularly parts that don't make sense, or a specific step you're stuck on?

---

<div class="post-metadata">

**Author:** ![cis4life](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Post date:** [April 26, 2024, 1:54am UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/8 "2024-04-26T01:54:44Z")

</div>

So with reindexing do I need to do it manually index by index. We have a few hundred indexes.

Our data is mnt into an external san storage mount and not on the individual nodes. If I standup a new cluster 7.17 and point the data nodes to the external drive, wouldn’t that handle the data and so forth?

Thanks for all your help on this.

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [April 26, 2024, 6:51am UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/9 "2024-04-26T06:51:26Z")

</div>

> [@cis4life](#):
>
> So with reindexing do I need to do it manually index by index. We have a few hundred indexes.

See [Reindex from multiple sources](https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-reindex.html#docs-reindex-from-multiple-sources).

---

<div class="post-metadata">

**Author:** ![cis4life](https://avatars.discourse-cdn.com/v4/letter/c/82dd89/32.png) [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Post date:** [April 26, 2024, 10:41am UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634/10 "2024-04-26T10:41:33Z")

</div>

Thanks for that answer.

Would I have to do a Reindex if…  
Our data is mnt into an external san storage mount and not on the individual nodes. If I standup a new cluster 7.17 and point the data nodes to the external drive, wouldn’t that handle the data and so forth?

Thanks for all your help on this.

Also

Is reindexing a slow process?
