Skip to content

Conversation

adibsaad
Copy link

@adibsaad adibsaad commented Jun 9, 2022

Should fix #1004 (also mentioned here elastic/elasticsearch-ruby#1344 (comment))

When deleting an index that doesn't exist, the exception handler references client but I think it should be referencing self.client

@cla-checker-service
Copy link

cla-checker-service bot commented Jun 9, 2022

💚 CLA has been signed

@Lolote13
Copy link

Lolote13 commented Jul 3, 2022

Hello, can someone review this ? I have the same issue

Copy link

@vbrazo vbrazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review this PR as it is blocking me

@sebfie
Copy link

sebfie commented Sep 16, 2022

up ?

@kalashnikovisme
Copy link

kalashnikovisme commented Oct 3, 2022

I've catch error #1004

Added gem 'elasticsearch-rails', github: 'adibsaad/elasticsearch-rails', branch: 'patch-1' instead of main version.

Unfortunately, the error is still the same.

NoMethodError: undefined method `transport' for #<Elasticsearch::Transport::Transport::HTTP::Faraday:0x0000564e78127498>
/bundle/ruby/2.7.0/bundler/gems/elasticsearch-rails-a0b81a691fd3/elasticsearch-model/lib/elasticsearch/model/indexing.rb:293:in `rescue in delete_index!'
/bundle/ruby/2.7.0/bundler/gems/elasticsearch-rails-a0b81a691fd3/elasticsearch-model/lib/elasticsearch/model/indexing.rb:289:in `delete_index!'
/bundle/ruby/2.7.0/bundler/gems/elasticsearch-rails-a0b81a691fd3/elasticsearch-model/lib/elasticsearch/model/indexing.rb:248:in `create_index!'

@adibsaad adibsaad closed this by deleting the head repository Jul 31, 2023
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

Successfully merging this pull request may close these issues.

create_index! raises undefined method transport @ 7.2.0
5 participants