-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add elastic 8 support via github.com/elastic/go-elasticsearch/v8
#30755
base: main
Are you sure you want to change the base?
Conversation
Also update the action: gitea/.github/workflows/pull-db-tests.yml Line 95 in ad4e902
gitea/.github/workflows/pull-db-tests.yml Line 160 in ad4e902
|
elasticsearch 7 is still supported until 9.x is released. I think we should support both |
Ok, it's actually fine to test the minimum supported version. We do this for databases too. |
IIRC Additional work is required to maintain compatibility with these distros. |
I'm adding a |
The REST API returns version at root as https://opster.com/guides/elasticsearch/how-tos/check-elasticsearch-version/ |
Fixing up last few issues, probably Elastic REST API authentication related. |
Regarding opensearch (and I'm fine leaving that out in this PR), I think the status quo is:
So unfortunately, it seems to support them all I'm afraid we need 3 modules. It's a mess. API is supposed to be similar on all of them. Maybe it'd be also an option to consume the REST API plainly without those modules. |
Hmm, is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable and I would like to try upgrading my instance to elasticsearch 8, so I would give it a go.
Closes #30752
github.com/elastic/go-elasticsearch/v8
only support Elasticsearch v8, so the previous code is kept for v7 compatibility.