Close a point in time

  • DELETE /_pit
Auth

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.

Request body

id string required

The ID of the point-in-time.

Responses

application/json
succeeded boolean required

If true, all search contexts associated with the point-in-time ID were successfully closed.

num_freed number required

The number of search contexts that were successfully closed.

application/json
succeeded boolean required
num_freed number required