From 2a9f70a86c1a4166fd9efa733eca57f815e1a1b8 Mon Sep 17 00:00:00 2001 From: Martin Gaievski Date: Wed, 9 Aug 2023 18:10:19 +0200 Subject: [PATCH] Change feature flag name for hybryd search (#247) Signed-off-by: Martin Gaievski --- build.gradle | 2 +- .../opensearch/neuralsearch/settings/NeuralSearchSettings.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 42f324c68..c050f4705 100644 --- a/build.gradle +++ b/build.gradle @@ -256,7 +256,7 @@ testClusters.integTest { // enable features for testing // hybrid search - systemProperty('plugins.ml_commons.hybrid_search_enabled', 'true') + systemProperty('plugins.neural_search.hybrid_search_enabled', 'true') } // Remote Integration Tests diff --git a/src/main/java/org/opensearch/neuralsearch/settings/NeuralSearchSettings.java b/src/main/java/org/opensearch/neuralsearch/settings/NeuralSearchSettings.java index 31ac0319e..995f0c0fa 100644 --- a/src/main/java/org/opensearch/neuralsearch/settings/NeuralSearchSettings.java +++ b/src/main/java/org/opensearch/neuralsearch/settings/NeuralSearchSettings.java @@ -22,7 +22,7 @@ public final class NeuralSearchSettings { * Once that problem is resolved this feature flag can be removed. */ public static final Setting NEURAL_SEARCH_HYBRID_SEARCH_ENABLED = Setting.boolSetting( - "plugins.ml_commons.hybrid_search_enabled", + "plugins.neural_search.hybrid_search_enabled", false, Setting.Property.NodeScope );