Index APIs

The index APIs are used to manage individual indices.

Permissions: No specific index-level actions are required to use the index APIs. Siren Platform uses the same action as Elasticsearch: indices:admin/cache/clear.

Query Cache

Siren’s query cache can be cleared together with that of Elasticsearch. For more details, please refer to the Elasticsearch clear cache documentation.

curl -XPOST 'http://localhost:9200/<index>/_cache/clear?query=true'

The POST request clears the query cache for the specified index.