From fe3228691a527161dc94ce72b871f2d7b1d73244 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Wed, 15 Dec 2021 13:33:57 +0000 Subject: [PATCH] Updating to latest elastic search --- pom.xml | 7 +------ .../annotation/store/adapters/elastic/ElasticStore.java | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index a42c9346..b24f1666 100644 --- a/pom.xml +++ b/pom.xml @@ -167,15 +167,10 @@ 8.11.0 - - org.elasticsearch - elasticsearch - 7.13.3 - org.elasticsearch.client elasticsearch-rest-high-level-client - 7.13.3 + 7.16.1 com.amazonaws diff --git a/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java b/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java index 315d8242..b30e6315 100644 --- a/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java +++ b/src/main/java/uk/org/llgc/annotation/store/adapters/elastic/ElasticStore.java @@ -27,9 +27,9 @@ import uk.org.llgc.annotation.store.adapters.StoreAdapter; import uk.org.llgc.annotation.store.adapters.AbstractStoreAdapter; -import org.elasticsearch.common.xcontent.XContentBuilder; +import org.elasticsearch.xcontent.XContentBuilder; import org.elasticsearch.common.text.Text; -import org.elasticsearch.common.xcontent.XContentFactory; +import org.elasticsearch.xcontent.XContentFactory; import org.elasticsearch.client.RestHighLevelClient; import org.elasticsearch.client.RestClientBuilder;