Elastic.Scroll.start

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

Specs

start(%{
  index: String.t(),
  body: map(),
  size: pos_integer(),
  keepalive: String.t()
}) :: {:ok, 200, map()} | {:error, 404, map()}

Starts a new scroll using ElasticSearch's scroll endpoint.

  Elastic.Scroll.start(%{
    index: "answer",
    body: %{} # a query can go here
    size: 100,
    keepalive: "1m"
  })