Skip to content
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 support for Elasticsearch 7.x #25

Merged
merged 2 commits into from
Jun 5, 2021
Merged

Conversation

demsullivan
Copy link
Contributor

Elasticsearch 7.x removes the use of "types" in indexed documents. This PR removes all references to types and updates the appropriate specs to get them passing again. Tested against ES 7.10.1.

I'm not sure how you want to handle the backwards incompatibility - maybe rom-elasticsearch 0.4.x should be restricted to ES 6.x and rom-elasticsearch 0.5.x+ only supports ES 7.x?

@demsullivan demsullivan requested a review from solnic as a code owner June 4, 2021 12:50
@solnic
Copy link
Member

solnic commented Jun 5, 2021

I'm not sure how you want to handle the backwards incompatibility - maybe rom-elasticsearch 0.4.x should be restricted to ES 6.x and rom-elasticsearch 0.5.x+ only supports ES 7.x?

Yes that's what I'll do. Long-term I'm not sure, we'll see 🙂

@solnic solnic merged commit db8139e into rom-rb:master Jun 5, 2021
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.

2 participants