Skip to content

Commit 274987d

Browse files
peteralfonsiPeter Alfonsikolchfa-aws
authored
Document setting allowing size > 0 queries into request cache (#8634)
* add setting for caching size > 0 queries Signed-off-by: Peter Alfonsi <petealft@amazon.com> * Update _search-plugins/caching/request-cache.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Peter Alfonsi <peter.alfonsi@gmail.com> --------- Signed-off-by: Peter Alfonsi <petealft@amazon.com> Signed-off-by: Peter Alfonsi <peter.alfonsi@gmail.com> Co-authored-by: Peter Alfonsi <petealft@amazon.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
1 parent 9386dbc commit 274987d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_search-plugins/caching/request-cache.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Setting | Data type | Default | Level | Static/Dynamic | Description
2828
`indices.cache.cleanup_interval` | Time unit | `1m` (1 minute) | Cluster | Static | Schedules a recurring background task that cleans up expired entries from the cache at the specified interval.
2929
`indices.requests.cache.size` | Percentage | `1%` | Cluster | Static | The cache size as a percentage of the heap size (for example, to use 1% of the heap, specify `1%`).
3030
`index.requests.cache.enable` | Boolean | `true` | Index | Dynamic | Enables or disables the request cache.
31+
`indices.requests.cache.enable_for_all_requests` | Boolean | `false` | Cluster | Dynamic | Enables or disables caching queries in which `size` is greater than `0`.
3132

3233
### Example
3334

0 commit comments

Comments
 (0)