Heelp

I need to create a mappings for 4 type in one index elasticsearch 6.3.0
any idea??

I think this link could help you : https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html

You can't have more than one type per index.

so i have a sql database and i need to switch to a nosql database
in my sql database I have 4 tables, so I need to create 4 types in the same index
if you have any other idea than this one I will be grateful ...

in my sql database I have 4 tables, so I need to create 4 types in the same index

That's a wrong assumption IMO.
Switching from a relation model to a document oriented model is something you need to think about.

if you have any other idea than this one I will be grateful ...

But I'm going to answer your question anyway: you can create one index per table.
But again, I feel it could be a wrong approach.

oook thank you

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.