IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Clear cache

edit

The clear cache API allows to clear either all caches or specific cached associated with one ore more indices.

ClearAll

edit
var r = this.ConnectedClient.ClearCache();

Typed with advanced options

edit
var r = this.ConnectedClient.ClearCache<ElasticSearchProject>(ClearCacheOptions.Filter | ClearCacheOptions.Bloom);