From 22714784df0ffc6c1f192b0d29d349bcac5dda26 Mon Sep 17 00:00:00 2001 From: Johannes Peter Date: Thu, 5 Dec 2024 21:25:37 +0100 Subject: [PATCH] fix: added initialization of ltr settings in LtrQueryParserPlugin (#85) Signed-off-by: Johannes Peter --- src/main/java/com/o19s/es/ltr/LtrQueryParserPlugin.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/o19s/es/ltr/LtrQueryParserPlugin.java b/src/main/java/com/o19s/es/ltr/LtrQueryParserPlugin.java index 823d869..b6bec5b 100644 --- a/src/main/java/com/o19s/es/ltr/LtrQueryParserPlugin.java +++ b/src/main/java/com/o19s/es/ltr/LtrQueryParserPlugin.java @@ -275,6 +275,9 @@ public Collection createComponents(Client client, } } }); + + LTRSettings.getInstance().init(clusterService); + final JvmService jvmService = new JvmService(environment.settings()); final LTRCircuitBreakerService ltrCircuitBreakerService = new LTRCircuitBreakerService(jvmService).init();