From 90ae402442507990ef5d5c5300fe2013972e4741 Mon Sep 17 00:00:00 2001 From: bowenlan-amzn Date: Mon, 17 Jun 2024 10:18:59 -0700 Subject: [PATCH] Add documentation for the new setting of cardinality aggregation dynamic pruning (#7341) * add documentation for the new setting of cardinality aggregation dynamic pruning Signed-off-by: bowenlan-amzn * Update search-settings.md Signed-off-by: bowenlan-amzn * Update _install-and-configure/configuring-opensearch/search-settings.md Signed-off-by: Melissa Vagi * Update search-settings.md Signed-off-by: Melissa Vagi --------- Signed-off-by: bowenlan-amzn Signed-off-by: Melissa Vagi Co-authored-by: Melissa Vagi --- .../configuring-opensearch/search-settings.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_install-and-configure/configuring-opensearch/search-settings.md b/_install-and-configure/configuring-opensearch/search-settings.md index f769516b33..c3c4337d01 100644 --- a/_install-and-configure/configuring-opensearch/search-settings.md +++ b/_install-and-configure/configuring-opensearch/search-settings.md @@ -35,7 +35,9 @@ OpenSearch supports the following search settings: - `search.highlight.term_vector_multi_value` (Static, Boolean): Specifies to highlight snippets across values of a multi-valued field. Default is `true`. -- `search.max_aggregation_rewrite_filters` (Dynamic, integer): Determines the maximum number of rewrite filters allowed during aggregation. Set this value to `0` to disable the filter rewrite optimization for aggregations. +- `search.max_aggregation_rewrite_filters` (Dynamic, integer): Determines the maximum number of rewrite filters allowed during aggregation. Set this value to `0` to disable the filter rewrite optimization for aggregations. This is an experimental feature and may change or be removed in future versions. + +- `search.dynamic_pruning.cardinality_aggregation.max_allowed_cardinality` (Dynamic, integer): Determines the threshold for applying dynamic pruning in cardinality aggregation. If a field’s cardinality exceeds this threshold, the aggregation reverts to the default method. This is an experimental feature and may change or be removed in future versions. ## Point in Time settings