Module: Elasticsearch::Model::Adapter::Default::Importing

Defined in:
lib/elasticsearch/model/adapters/default.rb

Overview

Module for efficiently fetching records from the database to import them into the index

Instance Method Summary collapse

Instance Method Details

#__find_in_batches(options = {}, &block) ⇒ Object

This method is abstract.

Implement this method in your adapter

Raises:



50
51
52
# File 'lib/elasticsearch/model/adapters/default.rb', line 50

def __find_in_batches(options={}, &block)
  raise NotImplemented, "Method not implemented for default adapter"
end

#__transformObject

This method is abstract.

Implement this method in your adapter

Raises:



56
57
58
# File 'lib/elasticsearch/model/adapters/default.rb', line 56

def __transform
  raise NotImplemented, "Method not implemented for default adapter"
end