Skip to content

Commit 29b8665

Browse files
committed
Decouple the esql plugin from the ML plugin by removing explicit dependency.
1 parent b01438a commit 29b8665

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

x-pack/plugin/esql/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ esplugin {
2323
name = 'x-pack-esql'
2424
description = 'The plugin that powers ESQL for Elasticsearch'
2525
classname = 'org.elasticsearch.xpack.esql.plugin.EsqlPlugin'
26-
extendedPlugins = ['x-pack-esql-core', 'lang-painless', 'x-pack-ml']
26+
extendedPlugins = ['x-pack-esql-core', 'lang-painless']
2727
}
2828

2929
base {
@@ -34,7 +34,6 @@ dependencies {
3434
compileOnly project(path: xpackModule('core'))
3535
compileOnly project(':modules:lang-painless:spi')
3636
compileOnly project(xpackModule('esql-core'))
37-
compileOnly project(xpackModule('ml'))
3837
implementation project(xpackModule('kql'))
3938
implementation project('compute')
4039
implementation project('compute:ann')
@@ -53,6 +52,7 @@ dependencies {
5352
testImplementation project(path: xpackModule('enrich'))
5453
testImplementation project(path: xpackModule('spatial'))
5554
testImplementation project(path: xpackModule('kql'))
55+
testImplementation project(path: xpackModule('ml'))
5656

5757
testImplementation project(path: ':modules:reindex')
5858
testImplementation project(path: ':modules:parent-join')

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/ChangePoint.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
* Plan that detects change points in a list of values. See also:
3131
* <ul>
3232
* <li> {@link org.elasticsearch.compute.operator.ChangePointOperator}
33-
* <li> {@link org.elasticsearch.xpack.ml.aggs.changepoint.ChangePointDetector}
3433
* </ul>
3534
*
3635
* ChangePoint should always run on the coordinating node after the data is collected

0 commit comments

Comments
 (0)