diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java index 055c80bfc1f6f..129ee48a3249a 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java @@ -122,7 +122,7 @@ private XPackSettings() { public static final Setting VECTORS_ENABLED = Setting.boolSetting("xpack.vectors.enabled", true, Setting.Property.NodeScope); /** Setting for enabling or disabling data science plugin. Defaults to true. */ - public static final Setting DATA_SCIENCE_ENABLED = Setting.boolSetting("xpack.datascience.enabled", + public static final Setting DATA_SCIENCE_ENABLED = Setting.boolSetting("xpack.data-science.enabled", true, Setting.Property.NodeScope); /* @@ -217,6 +217,7 @@ public static List> getAllSettings() { settings.add(DATA_FRAME_ENABLED); settings.add(FLATTENED_ENABLED); settings.add(VECTORS_ENABLED); + settings.add(DATA_SCIENCE_ENABLED); return Collections.unmodifiableList(settings); }