Skip to content

Commit 0b92c86

Browse files
beatjoergpicandocodigo
authored andcommitted
Update import.rb
Fixes issue #1082
1 parent 92c8d16 commit 0b92c86

File tree

1 file changed

+0
-1
lines changed
  • elasticsearch-rails/lib/elasticsearch/rails/tasks

1 file changed

+0
-1
lines changed

elasticsearch-rails/lib/elasticsearch/rails/tasks/import.rb

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
total_errors = klass.__elasticsearch__.import force: ENV.fetch('FORCE', false),
8181
batch_size: ENV.fetch('BATCH', 1000).to_i,
8282
index: ENV.fetch('INDEX', nil),
83-
type: ENV.fetch('TYPE', nil),
8483
scope: ENV.fetch('SCOPE', nil) do |response|
8584
pbar.inc response['items'].size if pbar
8685
STDERR.flush

0 commit comments

Comments
 (0)