Transferring documents from different ES servers

I'm trying to transfer some documents from a source server to a destination server. Both have the same settings, and indices associated to those documents.

The documents have an object data field, that inherits from an inner document.

  • How would you do it?

  • I've tried using (python client)

document = Document.get(using=source, id = id)
document.save(
            using=destination, 
            return_doc_meta = True,
            skip_empty = True,
            refresh=True
        )

but it seems that some data fields are not being transferred.