From f333ec8acac3352d8d845a4f704d42af2db7d342 Mon Sep 17 00:00:00 2001 From: Siddhant Deshmukh Date: Fri, 11 Oct 2024 11:10:21 -0700 Subject: [PATCH] Set default true for field name and type (#144) Signed-off-by: Siddhant Deshmukh --- .../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 5aa6364f..cc81f47f 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 );