Pre v5 index compatibility with Elasticsearch v8

Per Upgrade Elasticsearch | Elasticsearch Guide [8.11] | Elastic, "indices created in 6.x or earlier...use the archive functionality" which makes it sound like any version <= 6 should work.

Maybe slightly contradictory, but Reading indices from older Elasticsearch versions | Elasticsearch Guide [8.11] | Elastic seems to say that the archive functionality only works with versions 5 or 6.

Q1: Which of the above two is correct?

Q2: If the archive functionality only works with v5 and v6, how do we bring indices created in v1-4 into Elasticsearch 8?

Thanks in advance

I believe the second one is correct as that is the actual description of the feature.

Elasticsearch went directly from version 2.x to 5.x to align version numbers across the stack, so there is no version 3 or 4. From earlier versions you will need to reindex the data.

It is also worth noting that the ability to read older indices in Elasticsearch is a commercial feature that does require an Enterprise license.

1 Like

Thanks, Christian,

Follow up question,

It is also worth noting that the ability to read older indices in Elasticsearch is a commercial feature that does require an Enterprise license .

in your link, which row/item were you referring to? I didn't see anything that specifically called out the older indices

From earlier versions [v1, v2,] you will need to reindex the data.

You said that reading older indices is only an Enterprise feature.

Does that also mean REINDEXING will also not work on v1 and v2 older indices? reindexing would require reading...

In this case reindexing needs to be done acessing a running cluster with the data on the specified version, v1 or v2.

How you will reindex is entirely up to you, but you will need a cluster on v1/v2 with the data and a cluster on a newer version, basically you will read the data from the old cluster and write it in the new cluster.

The paid feature that can read data from v5 and v6 cluster will read the data from snapshots created on these versions, this would allow you to restore a v5/v6 snapshot on a v8 cluster for example.

2 Likes

ah, so it sounds like you're saying the reindexing of a v1 or v2 index is done on a live cluster and can't be done from reading a snapshot. Thanks!

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