Clear the cache Technical preview

POST /_searchable_snapshots/cache/clear

Clear indices and data streams from the shared cache for partially mounted indices.

Query parameters

  • expand_wildcards string | array[string]

    Whether to expand wildcard expression to concrete indices that are open, closed or both.

  • Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes _all string or when no indices have been specified)

  • Whether specified concrete indices should be ignored when unavailable (missing or closed)

  • pretty boolean
  • human boolean

Responses

  • 200 application/json

    Additional properties are allowed.

POST /_searchable_snapshots/cache/clear
curl \
 -X POST http://api.example.com/_searchable_snapshots/cache/clear
Response examples (200)
{}