Clear a scrolling search

  • DELETE /_search/scroll/{scroll_id}
  • DELETE /_search/scroll

Clear the search context and results for a scrolling search.

Read the reference documentation

Path Parameters

scroll_id union ScrollId | [] ScrollId optional deprecated

A comma-separated list of scroll IDs to clear. To clear all scroll IDs, use _all. IMPORTANT: Scroll IDs can be long. It is recommended to specify scroll IDs in the request body parameter.

Leave it out to use /_search/scroll.

Request

scroll_id ScrollIds

The scroll IDs to clear. To clear all scroll IDs, use _all.

Response