Skip to content

Commit

Permalink
Disables rewrite code path to debug latency issues (opensearch-projec…
Browse files Browse the repository at this point in the history
…t#1987)

Signed-off-by: Tejas Shah <[email protected]>
  • Loading branch information
shatejas authored Aug 19, 2024
1 parent 3ca52e4 commit 19d5c9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class KNNFeatureFlags {

// Feature flags
private static final String KNN_LAUNCH_QUERY_REWRITE_ENABLED = "knn.feature.query.rewrite.enabled";
private static final boolean KNN_LAUNCH_QUERY_REWRITE_ENABLED_DEFAULT = true;
private static final boolean KNN_LAUNCH_QUERY_REWRITE_ENABLED_DEFAULT = false;

@VisibleForTesting
public static final Setting<Boolean> KNN_LAUNCH_QUERY_REWRITE_ENABLED_SETTING = Setting.boolSetting(
Expand Down

0 comments on commit 19d5c9f

Please sign in to comment.