elasticsearch-rails icon indicating copy to clipboard operation
elasticsearch-rails copied to clipboard

Backward compatibility for older Elasticsearch version

Open xcodephile opened this issue 1 year ago • 1 comments

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.

xcodephile avatar Sep 12 '23 03:09 xcodephile

@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).

zaru avatar Sep 20 '23 08:09 zaru