Skip to content

Third party server support for 7.1.1? #1001

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

Closed
vamsipavanmahesh opened this issue Aug 9, 2021 · 2 comments
Closed

Third party server support for 7.1.1? #1001

vamsipavanmahesh opened this issue Aug 9, 2021 · 2 comments

Comments

@vamsipavanmahesh
Copy link

I understand that ES is not going to support communication with servers maintained by 3rd parties.

Looks like the elasticsearch-ruby already added the check here
elastic/elasticsearch-ruby@8a0e6d8#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed

I assume that the same will happen to this repo.

we are currently using the elastic search cluster of amazon and it will take some time for us to migrate to the official ES cluster.

for the time being, my rails app has this:

gem 'elasticsearch-model', '7.1.1'
gem 'elasticsearch-rails', '7.1.1'

Please let us know if we are covered for the time being and hopefully, nothing will break?

@picandocodigo
Copy link
Member

Hi @vamsipavanmahesh,
Since elasticsearch-model depends on elasticsearch ~> 7, I'd suggest locking this dependency in your app's Gemfile to be less than 7.14, the version where the check was introduced:

gem 'elasticsearch-model', '7.1.1'
gem 'elasticsearch-rails', '7.1.1'
gem 'elasticsearch', '< 7.14'

This way you'll get the latest version of elasticsearch-ruby before 7.14 if you update your gems.

@vamsipavanmahesh
Copy link
Author

Thanks @picandocodigo for your inputs :)

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