diff --git a/_search-plugins/caching/tiered-cache.md b/_search-plugins/caching/tiered-cache.md index 08745f06a96..ea58abd14e7 100644 --- a/_search-plugins/caching/tiered-cache.md +++ b/_search-plugins/caching/tiered-cache.md @@ -91,3 +91,11 @@ The following table lists additional settings for the `tiered_spillover` store s | `indices.request.cache.tiered_spillover.disk.store.policies.took_time.threshold` | Time unit | `10ms` | A policy used to determine whether to cache a query into a disk cache based on its took time. This is a dynamic setting. Optional. | | `indices.request.cache.tiered_spillover.disk.store.enabled` | Boolean | `True` | Enables or disables the disk cache dynamically within a tiered spillover cache. Note: After disabling a disk cache, entries are not removed automatically and requires the cache to be manually cleared. Optional. | +### Configuring Cleanup + +The following table lists the settings related to deletion of stale entries from the cache. + +| Setting | Data type | Default | Description | +|:-----------------------------------------------------|:----------|:--------|:------------------------------------------------------------------------------------------------------------| +| `indices.requests.cache.cleanup.staleness_threshold` | String | `0%` | Defines the percentage of stale keys in the cache post which all stale cache entries are deleted. Optional. | +| `indices.requests.cache.cleanup.interval` | Time unit | `1m` | Defines the frequency at which the request cache's stale entries are deleted. Optional. | \ No newline at end of file