Elastic.Scroll.next

You're seeing just the function next, go back to Elastic.Scroll module for more information.

Specs

next(%{scroll_id: String.t(), keepalive: String.t()}) ::
  {:ok, 200, map()} | {:error, 404, map()} | {:error, pos_integer(), map()}

Fetches the next batch of results from a specified scroll.

  Elastic.Scroll.next(%{
    scroll_id: "<a base64 scroll ID goes here>"
    keepalive: "1m"
  })