diff --git a/docs/src/main/sphinx/connector/elasticsearch.rst b/docs/src/main/sphinx/connector/elasticsearch.rst
index 73cc5ec4480c..3e2985bd461a 100644
--- a/docs/src/main/sphinx/connector/elasticsearch.rst
+++ b/docs/src/main/sphinx/connector/elasticsearch.rst
@@ -11,7 +11,7 @@ This document describes how to setup the Elasticsearch Connector to run SQL quer
.. note::
- Elasticsearch (6.0.0 or later) or OpenSearch (1.1.0 or later) is required.
+ Elasticsearch (6.6.0 or later) or OpenSearch (1.1.0 or later) is required.
Configuration
-------------
diff --git a/plugin/trino-elasticsearch/pom.xml b/plugin/trino-elasticsearch/pom.xml
index 60101dbb9154..4d7b8c88fae6 100644
--- a/plugin/trino-elasticsearch/pom.xml
+++ b/plugin/trino-elasticsearch/pom.xml
@@ -15,7 +15,7 @@
${project.parent.basedir}
- 6.0.0
+ 6.8.23
@@ -63,12 +63,7 @@
com.amazonaws
aws-java-sdk-core
-
-
- com.fasterxml.jackson.dataformat
- jackson-dataformat-cbor
-
-
+
org.apache.httpcomponents
httpclient
@@ -125,8 +120,8 @@
org.apache.httpcomponents
httpasyncclient
4.1.2
-
+
commons-logging
commons-logging
@@ -137,21 +132,9 @@
org.apache.httpcomponents
httpclient
- 4.5.2
-
+ 4.5.13
-
-
- org.apache.httpcomponents
- httpcore
-
-
-
-
- commons-codec
- commons-codec
-
-
+
commons-logging
commons-logging
@@ -162,13 +145,13 @@
org.apache.httpcomponents
httpcore
- 4.4.5
+ 4.4.13
org.apache.httpcomponents
httpcore-nio
- 4.4.5
+ 4.4.13
@@ -180,74 +163,37 @@
org.apache.logging.log4j
log4j-api
+
org.elasticsearch
jna
+
org.apache.lucene
lucene-analyzers-common
-
- org.apache.lucene
- lucene-backward-codecs
-
-
- org.apache.lucene
- lucene-grouping
-
-
- org.apache.lucene
- lucene-highlighter
-
-
- org.apache.lucene
- lucene-join
-
-
- org.apache.lucene
- lucene-memory
-
-
- org.apache.lucene
- lucene-misc
-
-
- org.apache.lucene
- lucene-queries
-
-
- org.apache.lucene
- lucene-sandbox
-
-
- org.apache.lucene
- lucene-spatial
-
-
- org.apache.lucene
- lucene-spatial-extras
-
-
- org.apache.lucene
- lucene-spatial3d
-
-
- org.apache.lucene
- lucene-suggest
-
-
- org.yaml
- snakeyaml
-
+
+ org.elasticsearch
+ elasticsearch-core
+ ${dep.elasticsearch.version}
+
+
+
+ org.elasticsearch
+ elasticsearch-x-content
+ ${dep.elasticsearch.version}
+
+
org.elasticsearch.client
elasticsearch-rest-client
${dep.elasticsearch.version}
+
commons-logging
commons-logging
@@ -433,13 +379,24 @@
-
+
org.apache.lucene:lucene-core
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+
+
+ org.elasticsearch:elasticsearch-x-content
+
+
+
diff --git a/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/TestElasticsearch6ConnectorTest.java b/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/TestElasticsearch6ConnectorTest.java
index 4a16656dd91a..ac3399376977 100644
--- a/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/TestElasticsearch6ConnectorTest.java
+++ b/plugin/trino-elasticsearch/src/test/java/io/trino/plugin/elasticsearch/TestElasticsearch6ConnectorTest.java
@@ -28,7 +28,7 @@ public class TestElasticsearch6ConnectorTest
{
public TestElasticsearch6ConnectorTest()
{
- super("docker.elastic.co/elasticsearch/elasticsearch-oss:6.0.0");
+ super("docker.elastic.co/elasticsearch/elasticsearch-oss:6.6.0");
}
@Test