From 274987d6481c3ad67b1594908131ebe931e04f86 Mon Sep 17 00:00:00 2001 From: Peter Alfonsi Date: Fri, 1 Nov 2024 09:56:47 -0700 Subject: [PATCH 1/3] Document setting allowing size > 0 queries into request cache (#8634) * add setting for caching size > 0 queries Signed-off-by: Peter Alfonsi * Update _search-plugins/caching/request-cache.md Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Peter Alfonsi --------- Signed-off-by: Peter Alfonsi Signed-off-by: Peter Alfonsi Co-authored-by: Peter Alfonsi Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> --- _search-plugins/caching/request-cache.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_search-plugins/caching/request-cache.md b/_search-plugins/caching/request-cache.md index 124152300b..768c75fc92 100644 --- a/_search-plugins/caching/request-cache.md +++ b/_search-plugins/caching/request-cache.md @@ -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 From c7fee2418ea444e11b7b195c536c18fda656832e Mon Sep 17 00:00:00 2001 From: Nathan Bower Date: Fri, 1 Nov 2024 14:39:47 -0400 Subject: [PATCH 2/3] Adds precompute and preaggreate to Vale (#8647) Signed-off-by: natebower <102320899+natebower@users.noreply.github.com> --- .github/vale/styles/Vocab/OpenSearch/Words/accept.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/vale/styles/Vocab/OpenSearch/Words/accept.txt b/.github/vale/styles/Vocab/OpenSearch/Words/accept.txt index c6d129c2c5..0a1d2c557c 100644 --- a/.github/vale/styles/Vocab/OpenSearch/Words/accept.txt +++ b/.github/vale/styles/Vocab/OpenSearch/Words/accept.txt @@ -85,6 +85,8 @@ p\d{2} [Pp]erformant [Pp]laintext [Pp]luggable +[Pp]reaggregate(s|d)? +[Pp]recompute(s|d)? [Pp]reconfigure [Pp]refetch [Pp]refilter From 818e406271bc51d81c5ba81a253f8727091576bb Mon Sep 17 00:00:00 2001 From: Nathan Bower Date: Fri, 1 Nov 2024 14:58:48 -0400 Subject: [PATCH 3/3] Adds precompute and preaggregate to terms (#8648) Signed-off-by: natebower <102320899+natebower@users.noreply.github.com> --- TERMS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TERMS.md b/TERMS.md index f5c6fef6db..146f3c1049 100644 --- a/TERMS.md +++ b/TERMS.md @@ -604,6 +604,10 @@ Tools inside of OpenSearch that can be customized to enhance OpenSearch's functi **pop-up** +**preaggregate** + +**precompute** + **premise, premises** With reference to property and buildings, always form as plural.