Open namdv-1375 opened 1 year ago
Elasticsearch::Transport was renamed to Elastic::Transport in 8.x
You can't use this chewy repo with 8.x out of the box.
I am experimenting with a fork that uses 8.x here: https://github.com/gabriel/chewy
@konalegi Are there any plans to support the 8.x version of elastisearch by this gem?
@benjaminwols I’m not sure exactly about it, let me take a look and get back with the answer. I’ll create a patch to lock chewy 7 to elastic 7 today to tomorrow
@namdv-1375 please upgrade to chewy 7.2.6 it has fix for your issue. https://github.com/toptal/chewy/commit/e48f0918e9efde4142cbc0d94c4183b423ce9e27
@benjaminwols I’m not sure exactly about it, let me take a look and get back with the answer.
@konalegi any progress on this front? Were you able to review either the @gabriel repo with 8.x support, or any other approaches? If so, would you be open to a PR along the lines of what gabriel has there?
Separately - do you have a preference versioning-wise to do either a) a hard version bump to chewy 8.x which would require the ES 8.x gems (this is what gabriel fork does); or b) a softer bump where chewy allows but does not require 8.x gems, and still supports the 7.x gems (possible, but would need some conditional branches in code to detect the diff classes in the ES gems.
@mjankowski Sorry for the long delay with a response. I was extremely busy and only now started looking at the transition into ES 8.x.
Thanks for the update, glad to hear you're looking at it.
I've started my work here, https://github.com/toptal/chewy/pull/917, although need to confirm how we are going to release 8.x version
i add gem file
gem "chewy", "~> 7.2", ">= 7.2.2"
-> runbundle
-> gemlock installed, example:while my computer is installing elasticsearch version 7.x so when running the command create index, e.x:
Please, show me how to fix it, i want to use elastic ver 7.x Thanksssssssssssssssss!