Hi,
I am writing a python script to migrate all our docs from 1.5.2 cluster to 2.3 cluster. I am using my own script because we have to change the parent docs, due to fields with dots and some more mapping changes, and also because we are using 2 clusters to do it. I have a question regarding the children docs:
What is the best way to migrate children documents which have only mapping changes? -
-
For each parent doc, change it to fit 2.3, index it to the new cluster, search for its children in the old cluster and index them also to the new one using the bulk API that will have 0-100 documents
-
Take all parent docs, change them, index them all and only when done index all children using the bulk API that will have default number of docs
Thanks!