_id field duplication after data copy to new index

Hi Community

We have one index with documents. We are planning to copy these documents to new index.
But we are worried about _id field.

Old index _id will be copied as it is to new index but what will happen when new document is indexed in new index? Is there a chance that new index generate same _id and document get updated instead of create?

Regards,
Hardik

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