IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

clearScroll

edit
client.clearScroll({
  scroll_id: string | string[],
  body: object
})

Reference

scroll_id or scrollId

string | string[] - A comma-separated list of scroll IDs to clear

body

object - A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter