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

Compatibility with ElasticSearch v6.x and 7.x #175

Open
davin4u opened this issue Oct 26, 2018 · 2 comments
Open

Compatibility with ElasticSearch v6.x and 7.x #175

davin4u opened this issue Oct 26, 2018 · 2 comments

Comments

@davin4u
Copy link

davin4u commented Oct 26, 2018

In this article it is said
https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html ES team is going to remove types at all. It is possible to have only one type inside the index starting from v6.x. Also they suggest to use "_doc" as the type name for the future compatibility with v7.x where types will be removed.
How would you suggest to use the plugin in the project right now to make possible to use ES v6.x to reduce "risks" for future updates?

@coffeeburrito
Copy link
Contributor

I override getTypeName() on the model to return "_doc", but apparently an empty string works as well (see #169).

@coffeeburrito
Copy link
Contributor

coffeeburrito commented Nov 16, 2018 via email

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

No branches or pull requests

2 participants