Skip to content

Support OpenSearch 3.x#176

Merged
hayashi-mas-wap merged 18 commits intoWorksApplications:developfrom
ackintosh:support-opensearch-3
Jan 30, 2026
Merged

Support OpenSearch 3.x#176
hayashi-mas-wap merged 18 commits intoWorksApplications:developfrom
ackintosh:support-opensearch-3

Conversation

@ackintosh
Copy link
Contributor

@ackintosh ackintosh commented Jan 22, 2026

#143

Summary

This PR updates the CI and build tooling to add OpenSearch (OS) 3.x coverage, ensuring the project can build and run tests against OpenSearch 3.0.0 - 3.4.0.

What changed

  • Extended the GitHub Actions CI matrix to include OpenSearch 3.0.0 through 3.4.0.
    • Configured CI jobs for OpenSearch 3.x to run on Java 21 (OpenSearch 3.0+ requires Java 21).
  • Extended the release GitHub Actions workflow matrix to include OpenSearch 3.x (e.g., 3.0.0 - 3.4.0).
    • Removed Elasticsearch versions below 8.10 from the release matrix, since the com.worksap.nlp.sudachi.es plugin does not support those versions.
  • Updated the Gradle wrapper/tooling to a version that supports running builds reliably on Java 21.
  • Added additional files under the ext directory to support Java 21 compatibility during build/test execution.
  • Kept existing matrix coverage for Elasticsearch 8.x and OpenSearch 2.x unchanged (still targeting Java 17).

Why

  • OpenSearch 3.x requires Java 21, so CI must validate the plugin with Java 21 to prevent regressions.
  • Gradle was updated to avoid build failures caused by insufficient Java 21 support in older Gradle versions.
  • The ext additions are required to make the build configuration work correctly under Java 21 for OpenSearch 3.x.

Notes

  • Only OpenSearch 3.x jobs use Java 21; other jobs continue to use Java 17.

@ackintosh ackintosh changed the title WIP: Support OpenSearch 3.x Support OpenSearch 3.x Jan 26, 2026
@ackintosh ackintosh marked this pull request as ready for review January 26, 2026 04:51
@ackintosh
Copy link
Contributor Author

I have tested the plugin locally on OpenSearch 3.3.2; it works as expected.

@mh-northlander @hayashi-mas-wap I would appreciate it if you could take a look. 🙏

@caovanbi235
Copy link

Great to see this! We are planning to use OpenSearch 3, so having sudachi support for it would be very helpful.

…ch-3

# Conflicts:
#	.github/workflows/release.yml
#	gradle.properties
@ackintosh
Copy link
Contributor Author

Fixed conflicts caused by merging #177.

@hayashi-mas-wap hayashi-mas-wap self-requested a review January 30, 2026 07:56
Copy link
Contributor

@hayashi-mas-wap hayashi-mas-wap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hayashi-mas-wap hayashi-mas-wap merged commit 36640a1 into WorksApplications:develop Jan 30, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants