elastic / elasticsearch-rails

Elasticsearch integrations for ActiveModel/Record and Ruby on Rails
Apache License 2.0
3.07k stars 793 forks source link

rake elasticsearch:import:model - ArgumentError: unknown keyword: :type (ArgumentError) #1082

Closed beatjoerg closed 2 months ago

beatjoerg commented 2 months ago

With the commit "Removing type related code b71d5a9dfb1a5212cbad8b6f9321a1e0a6726579" the type related code was removed, but it is still an option in the rake task, which will fail because the now unknown option "type" is passed down to find_in_batches (instead to be removed in the index function). I will post a pull request to fix that issue.