Module: Elastico::Import
- Defined in:
- lib/elastico/import.rb
Instance Method Summary collapse
Instance Method Details
#elastico_import_all ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/elastico/import.rb', line 3 def elastico_import_all self.find_each do |instance| result = instance.update_index_with_instance_elastico logger.info result end puts "Index for #{self.name} has finished. Errors regarding specific instances have been logged." end |