Create New Index Using Mapping from another index


Is there a way to create index by using mapping from another index? The requirement is here to copy data from one index to another that can be achieved using reindex API but the mapping updates in the source index. If I use reindex API, then it gives errors related to property field types.So, reindex does fulfil the requirement and there is a data loss.

I am trying to create new index by using the mapping from the source index first and then reindex. But I am not getting any way to achieve this without custom script.

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