Elastic.Scroll.clear

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

Specs

clear(String.t() | [String.t(), ...]) ::
  {:ok, 200, map()} | {:error, 404, map()} | {:error, pos_integer(), map()}

Clears the specified scroll by calling this endpoint

    Elastic.Scroll.clear("<Base64 Scroll ID goes here>")

Can also be used to clear multiple scrolls at the same time:

    Elastic.Scroll.clear([
      "<Base64 Scroll ID goes here>",
      "<Base64 Scroll ID goes here>"
    ])