Upgrade Elasticsearch from 5.x to 6.x, then 6.x to 7.x

(Eric Wang) #1

Lucene supports reading indexes with segments created with the last major version, so does elasticsearch.

As far as I know, if I upgrade my ES from 5.x to 6.x, then it can read indexes created by 5.x, so after that, I upgrade my ES from 6.x to 7.x, as the first line that I have indicated, it should be work too. am I right?

(David Pilato) #2

Yes but only for indices that has been created with ES 6.x or where the indices have been rewritten in ES 6.x (with forcemerge for example).

But the upgrade assistant which is available in X-Pack Basic (free) should tell you that. Note it's not available yet for 6.x as ES 7.x is not ready :stuck_out_tongue:

(system) #3

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