From 753ace99582f6b876d127e1cbc31e9da3cc2f9d3 Mon Sep 17 00:00:00 2001 From: Shinsuke Sugaya Date: Tue, 26 Sep 2023 22:46:59 +0900 Subject: [PATCH] opensearch 2.10.0 --- pom.xml | 11 ++++++++--- .../codelibs/opensearch/runner/OpenSearchRunner.java | 4 ++-- .../opensearch/runner/OpenSearchRunnerException.java | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 5196684..0be8d2c 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 org.codelibs.opensearch opensearch-runner - 2.9.0.1-SNAPSHOT + 2.10.0.0-SNAPSHOT jar OpenSearch Runner 2011 @@ -29,9 +29,9 @@ UTF-8 - 2.9.0 + 2.10.0 9.7.0 - 2.17.1 + 2.20.0 5.5.0 1.15.0 0.7 @@ -184,6 +184,11 @@ lang-painless ${opensearch.version} + + org.opensearch.plugin + opensearch-scripting-painless-spi + ${opensearch.version} + org.opensearch.plugin mapper-extras-client diff --git a/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunner.java b/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunner.java index f6c0f73..745137a 100644 --- a/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunner.java +++ b/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunner.java @@ -45,9 +45,7 @@ import org.kohsuke.args4j.CmdLineParser; import org.kohsuke.args4j.Option; import org.kohsuke.args4j.ParserProperties; -import org.opensearch.action.ActionResponse; import org.opensearch.action.DocWriteResponse.Result; -import org.opensearch.action.ShardOperationFailedException; import org.opensearch.action.admin.cluster.health.ClusterHealthRequest; import org.opensearch.action.admin.cluster.health.ClusterHealthResponse; import org.opensearch.action.admin.indices.alias.IndicesAliasesRequestBuilder; @@ -88,6 +86,8 @@ import org.opensearch.common.logging.LogConfigurator; import org.opensearch.common.settings.Settings; import org.opensearch.common.xcontent.XContentType; +import org.opensearch.core.action.ActionResponse; +import org.opensearch.core.action.ShardOperationFailedException; import org.opensearch.core.xcontent.XContentBuilder; import org.opensearch.env.Environment; import org.opensearch.index.query.QueryBuilder; diff --git a/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunnerException.java b/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunnerException.java index c29bc33..1a55d11 100644 --- a/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunnerException.java +++ b/src/main/java/org/codelibs/opensearch/runner/OpenSearchRunnerException.java @@ -15,7 +15,7 @@ */ package org.codelibs.opensearch.runner; -import org.opensearch.action.ActionResponse; +import org.opensearch.core.action.ActionResponse; public class OpenSearchRunnerException extends RuntimeException {