Method: Searchkick::Index#bulk_update

Defined in:
lib/searchkick/index.rb

#bulk_update(records, method_name) ⇒ Object



167
168
169
170
171
172
173
# File 'lib/searchkick/index.rb', line 167

def bulk_update(records, method_name)
  return if records.empty?

  notify_bulk(records, "Update") do
    queue_update(records, method_name)
  end
end