From 4ea8fe0b10a06960494a730ab62bfdf40176c908 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:55:04 -0700 Subject: [PATCH] Set default true for field name and type (#144) (#145) (cherry picked from commit f333ec8acac3352d8d845a4f704d42af2db7d342) Signed-off-by: Siddhant Deshmukh Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../plugin/insights/settings/QueryInsightsSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/opensearch/plugin/insights/settings/QueryInsightsSettings.java b/src/main/java/org/opensearch/plugin/insights/settings/QueryInsightsSettings.java index 5aa6364..cc81f47 100644 --- a/src/main/java/org/opensearch/plugin/insights/settings/QueryInsightsSettings.java +++ b/src/main/java/org/opensearch/plugin/insights/settings/QueryInsightsSettings.java @@ -143,14 +143,14 @@ public class QueryInsightsSettings { public static final Setting TOP_N_QUERIES_GROUPING_FIELD_NAME = Setting.boolSetting( TOP_N_QUERIES_GROUPING_SETTING_PREFIX + ".attributes.field_name", - false, + true, Setting.Property.Dynamic, Setting.Property.NodeScope ); public static final Setting TOP_N_QUERIES_GROUPING_FIELD_TYPE = Setting.boolSetting( TOP_N_QUERIES_GROUPING_SETTING_PREFIX + ".attributes.field_type", - false, + true, Setting.Property.Dynamic, Setting.Property.NodeScope );