Clear the cache of searchable snapshots Technical preview

POST /{index}/_searchable_snapshots/cache/clear

Path parameters

  • index string | array[string] Required

    A comma-separated list of index names

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 /{index}/_searchable_snapshots/cache/clear
curl \
 -X POST http://api.example.com/{index}/_searchable_snapshots/cache/clear
Response examples (200)
{}