From a8e2f71ead22642096b61494e253ad7dde181fc2 Mon Sep 17 00:00:00 2001 From: bowenlan-amzn Date: Wed, 1 May 2024 14:53:23 -0700 Subject: [PATCH] Add cluster setting for filter rewrite optimization in aggregation (#7033) * Add cluster setting for filter rewrite optimization in aggregation Signed-off-by: bowenlan-amzn * Update search-settings.md Signed-off-by: Melissa Vagi --------- Signed-off-by: bowenlan-amzn Signed-off-by: Melissa Vagi Co-authored-by: Melissa Vagi Signed-off-by: Sagar Upadhyaya --- .../configuring-opensearch/search-settings.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_install-and-configure/configuring-opensearch/search-settings.md b/_install-and-configure/configuring-opensearch/search-settings.md index ae1fd1330e..f769516b33 100644 --- a/_install-and-configure/configuring-opensearch/search-settings.md +++ b/_install-and-configure/configuring-opensearch/search-settings.md @@ -35,6 +35,8 @@ 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. + ## Point in Time settings For information about PIT settings, see [PIT settings]({{site.url}}{{site.baseurl}}/search-plugins/point-in-time-api/#pit-settings).