Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backward compatibility for older Elasticsearch version #1062

Open
xcodephile opened this issue Sep 12, 2023 · 1 comment
Open

Backward compatibility for older Elasticsearch version #1062

xcodephile opened this issue Sep 12, 2023 · 1 comment

Comments

@xcodephile
Copy link

If i refer to here, it says that the version numbers follow the Elasticsearch major versions.

Currently, i have Elasticsearch v5.1.2 and elasticsearch-rails v5. The plan is to upgrade Elasticsearch from 5 to version 7. What should i do? Does version 7 (main) support Elasticsearch version 5? Or i should upgrade it twice, so: upgrade the lib to 6 > upgrade Elasticsearch to 6 > upgrade the lib again to main > then upgrade Elasticsearch to 7.

@zaru
Copy link

zaru commented Sep 20, 2023

@xcodephile The library is backward compatible, so you should be able to address this by first updating elasticsearch-rails, and then updating the Elasticsearch core itself (recreating the index).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants