From f51ae09dfeb8fb4bd8c75768426f46146d6f61be Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Sat, 15 Jan 2022 00:19:55 +0000 Subject: [PATCH 1/2] Downgrading ELS version to a version that works with openSearch --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b24f1666..b1f0b00a 100644 --- a/pom.xml +++ b/pom.xml @@ -170,7 +170,7 @@ org.elasticsearch.client elasticsearch-rest-high-level-client - 7.16.1 + 7.13.4 com.amazonaws From 7b5a5d8a104fd52bf08fd14d0d603b1237c06c02 Mon Sep 17 00:00:00 2001 From: Glen Robson Date: Sat, 15 Jan 2022 00:30:43 +0000 Subject: [PATCH 2/2] Fixing import issue --- .../llgc/annotation/store/adapters/elastic/ElasticStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 b30e6315..315d8242 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.xcontent.XContentBuilder; +import org.elasticsearch.common.xcontent.XContentBuilder; import org.elasticsearch.common.text.Text; -import org.elasticsearch.xcontent.XContentFactory; +import org.elasticsearch.common.xcontent.XContentFactory; import org.elasticsearch.client.RestHighLevelClient; import org.elasticsearch.client.RestClientBuilder;