From 4550d5f979fd67ada47d3bdda7aff9292dd7e464 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Thu, 12 Jan 2017 16:30:58 +0100 Subject: [PATCH] fixed compile error due upstream changed Original commit: elastic/x-pack-elasticsearch@0dd924b287ba3cfdf9a6930d20274226954b7e9a --- .../src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java b/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java index 51d60127f54..281b0976156 100644 --- a/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java +++ b/elasticsearch/src/main/java/org/elasticsearch/xpack/ml/MlPlugin.java @@ -25,6 +25,7 @@ import org.elasticsearch.plugins.ActionPlugin; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.rest.RestHandler; import org.elasticsearch.script.ScriptService; +import org.elasticsearch.search.SearchRequestParsers; import org.elasticsearch.tasks.TaskManager; import org.elasticsearch.threadpool.ExecutorBuilder; import org.elasticsearch.threadpool.FixedExecutorBuilder; @@ -174,7 +175,8 @@ public class MlPlugin extends Plugin implements ActionPlugin { @Override public Collection createComponents(Client client, ClusterService clusterService, ThreadPool threadPool, - ResourceWatcherService resourceWatcherService, ScriptService scriptService, + ResourceWatcherService resourceWatcherService, + ScriptService scriptService, SearchRequestParsers searchRequestParsers, NamedXContentRegistry xContentRegistry) { JobResultsPersister jobResultsPersister = new JobResultsPersister(settings, client); JobProvider jobProvider = new JobProvider(client, 0, parseFieldMatcherSupplier.getParseFieldMatcher());