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

Custom types not working on Elasticsearch 6+ #84

Open
paalm opened this issue Aug 23, 2019 · 2 comments
Open

Custom types not working on Elasticsearch 6+ #84

paalm opened this issue Aug 23, 2019 · 2 comments

Comments

@paalm
Copy link
Collaborator

paalm commented Aug 23, 2019

So I am trying to add custom types. After fixing the documentation I was able to run it. But it doesnt input any documents into the index. And I tried to update mapping, but then I got error saying that I its not possible to have more than one type.
And off course, that is a breaking change in Elasticsearch 6. There are only one type now.

So custom types is wrong in it selves if you run Elasticsearch 6+. I suggest we change it to or add a "Custom Fields" method. A method that just add custom fields to the "main type" and do bulk operations to the new fields.

@apeneve
Copy link
Contributor

apeneve commented Aug 23, 2019

I would suggest creating one index per custom type to index.

@paalm
Copy link
Collaborator Author

paalm commented Aug 23, 2019

Yes, I agree. I have tried this, but it does not search in both indexes if I try with wildcard on index name.
I would like to use the alias, but I guess its not yet in place.
How can I search in multiple indexes?

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