Skip to content

Commit

Permalink
Document setting allowing size > 0 queries into request cache (#8634)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Nov 1, 2024
1 parent 9386dbc commit 274987d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _search-plugins/caching/request-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Setting | Data type | Default | Level | Static/Dynamic | Description
`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.
`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%`).
`index.requests.cache.enable` | Boolean | `true` | Index | Dynamic | Enables or disables the request cache.
`indices.requests.cache.enable_for_all_requests` | Boolean | `false` | Cluster | Dynamic | Enables or disables caching queries in which `size` is greater than `0`.

### Example

Expand Down

0 comments on commit 274987d

Please sign in to comment.