Skip to content

Commit 5038461

Browse files
committed
Removing esql depencies over ml
1 parent c664214 commit 5038461

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
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/compute/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ dependencies {
1212
compileOnly project(':server')
1313
compileOnly project('ann')
1414
compileOnly project(xpackModule('core'))
15-
compileOnly project(xpackModule('ml'))
1615
annotationProcessor project('gen')
1716
implementation 'com.carrotsearch:hppc:0.8.1'
1817

x-pack/plugin/esql/compute/src/main/java/module-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// required due to dependency on org.elasticsearch.common.util.concurrent.AbstractAsyncTask
1717
requires org.apache.logging.log4j;
1818
requires org.elasticsearch.logging;
19-
requires org.elasticsearch.ml;
2019
requires org.elasticsearch.tdigest;
2120
requires org.elasticsearch.geo;
2221
requires org.elasticsearch.xcore;

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import org.elasticsearch.xpack.esql.core.type.DataType;
2020
import org.elasticsearch.xpack.esql.expression.NamedExpressions;
2121
import org.elasticsearch.xpack.esql.expression.Order;
22-
import org.elasticsearch.xpack.ml.aggs.changepoint.ChangePointDetectorImpl;
2322

2423
import java.io.IOException;
2524
import java.util.List;
@@ -31,7 +30,7 @@
3130
* Plan that detects change points in a list of values. See also:
3231
* <ul>
3332
* <li> {@link org.elasticsearch.compute.operator.ChangePointOperator}
34-
* <li> {@link ChangePointDetectorImpl}
33+
* <li> {@link org.elasticsearch.xpack.core.ml.aggs.changepoint.ChangePointDetector}
3534
* </ul>
3635
*
3736
* ChangePoint should always run on the coordinating node after the data is collected

0 commit comments

Comments
 (0)