Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add ES 8.x support #1025

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

Open
ryansch wants to merge 4 commits into elastic:main
base: main
Choose a base branch
Loading
from outstand:es-8
Open

Add ES 8.x support #1025

ryansch wants to merge 4 commits into elastic:main from outstand:es-8

Conversation

Copy link
Contributor

@ryansch ryansch commented Apr 7, 2022

In addition to pinning v8 of elasticsearch-ruby, there were two other things I had to consider.

ES 8 does not allow sending a document type. I followed previous work in this repo and used Hash#compact to remove the type param.

elasticsearch-ruby v8 uses the new elastic-transport gem instead of the older elasticsearch-transport one. I added a (hopefully) backwards compatible solution via ELASTIC_TRANSPORT_CLASS.

shimoju, SeanLF, sly7-7, puglet5, isabel22, fragkakis, dani-sc, stevegeek, minamijoyo, and ytjmt reacted with thumbs up emoji
Copy link
Contributor Author

ryansch commented Apr 7, 2022

The test suite needs to run with ES 8 on this branch but I'm not familiar enough with it to make the right change.

Copy link

RouL commented Jun 21, 2022

Without having a deeper look into it I'd say replace all occurences of stack-version: 7.x-SNAPSHOT with stack-version: 8.4.0-SNAPSHOT in .github/workflows/*.yml
At least that's what is in the elasticsearch-ruby main-branch.

@leifcr leifcr mentioned this pull request Jul 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /