Clear a scrolling search
Clear the search context and results for a scrolling search.
Path parameters
-
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.
DELETE
/_search/scroll/{scroll_id}
curl \
-X DELETE http://api.example.com/_search/scroll/{scroll_id} \
-H "Content-Type: application/json" \
-d '{"":"string"}'
Request examples
{
"": "string"
}
Response examples (200)
{
"succeeded": true,
"num_freed": 42.0
}