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
- #__find_in_batches(options = {}, &block) ⇒ Object abstract
- #__transform ⇒ Object abstract
Instance Method Details
#__find_in_batches(options = {}, &block) ⇒ Object
This method is abstract.
Implement this method in your adapter
50 51 52 |
# File 'lib/elasticsearch/model/adapters/default.rb', line 50 def __find_in_batches(={}, &block) raise NotImplemented, "Method not implemented for default adapter" end |
#__transform ⇒ Object
This method is abstract.
Implement this method in your adapter
56 57 58 |
# File 'lib/elasticsearch/model/adapters/default.rb', line 56 def __transform raise NotImplemented, "Method not implemented for default adapter" end |