Thanks in advance for the solution or suggestions.
I have platform where we store user's content(schema based content) as applications such as website data, mobile data, IOT data etc.
To, search on this data we are planning to have ElasticSearch setup. But we have following difficulties.
Multiple types can be created by customer in each application, and there are chances that multiple schema might have same field name but with different data type.(Considering this schema as one type will generates different mapping for each one field and conflict of same field with different type will occurs)
Customer data is schema based, which will make it dynamic data. Also this schema can be modified by them anytime.(So, if we consider schema as type, any removal of field needs reindexing) - In this situation, all the data of other schemas(types) will also need to be shift(it might affect performance).
Waiting for the reply.