Method: Elastify::ActiveRecordExtensions::ClassMethods#elastify_scroll

Defined in:
lib/elastify/active_record_extensions.rb

#elastify_scroll(scroll_id: nil, scroll_timeout: nil) ⇒ Object



49
50
51
# File 'lib/elastify/active_record_extensions.rb', line 49

def elastify_scroll(scroll_id: nil, scroll_timeout: nil)
    Elastify::Helpers::ElasticSearch::Document.new(self.elastify_options).scroll(scroll_id, scroll_timeout)
end