Module: ROM::Elasticsearch::ScrollMethods

Included in:
Dataset
Defined in:
lib/rom/elasticsearch/scroll_methods.rb

Overview

Dataset's scoll methods

See Also:

Instance Method Summary collapse

Instance Method Details

#scroll(ttl) ⇒ Dataset

Return dataset with :scroll set

Parameters:

  • ttl (String)

Returns:



18
19
20
# File 'lib/rom/elasticsearch/scroll_methods.rb', line 18

def scroll(ttl)
  params(scroll: ttl)
end