younifyd
Menu

Clear a scrolling search (DELETE /_search/scroll/{scroll_id})

Clear a scrolling search

DELETE/_search/scroll/{scroll_id}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Clear a scrolling search (DELETE /_search/scroll/{scroll_id}) action (under search).
  3. Fill in the fields below, then reference the result from later steps as {{clearAScrollingSearchDeleteSearchScrollScrollId.response.data}}.

Request

Path parameters

scroll_idoneOfrequired

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.

Response

Returns 200 with an object. Read it in later steps with {{clearAScrollingSearchDeleteSearchScrollScrollId.response.data.<field>}}.

succeededboolean

If `true`, the request succeeded. This does not indicate whether any scrolling search requests were cleared.

num_freednumber

The number of scrolling search requests cleared.

json
{
  "succeeded": false,
  "num_freed": 0
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.