I have dynamic schema based application, where user will create following.
- User will create portal
- Under each portal user is allowed to create any type of schema consider like blogs, products, categories etc.
- Each schema with N no. of documents.
Best solution was to create index as portal and schema as type under it, but the schema may changes over time which will results in the reindexing(expensive where I will have N no. of documents to be moved to the new index).
Instead portal map to index can we use schema of each portal as index? But my concerns are with it are large no. of indexes will be created on each portal. As, portal rises too many no. of indices will be created.