Parent/child relationship support

I've noticed that current version doesn't support parent/child relationships while reindexing from one ES index to another. I think it might be important case, so - here is the patch that fixes that.