Close a point in time Added in 7.10.0
A point in time must be opened explicitly before being used in search requests.
The keep_alive
parameter tells Elasticsearch how long it should persist.
A point in time is automatically closed when the keep_alive
period has elapsed.
However, keeping points in time has a cost; close them as soon as they are no longer required for search requests.
DELETE
/_pit
curl \
-X DELETE http://api.example.com/_pit \
-H "Content-Type: application/json" \
-d '{"id":"string"}'
Request examples
{
"id": "string"
}
Response examples (200)
{
"succeeded": true,
"num_freed": 42.0
}