Unable to write parent and child documents from same map-reduce job

Using elasticsearch-hadoop, I'd like to write a map reduce job where the
EsOutputFormat writes both child and parent documents. However, it appears
that it can only write parent or child documents within a single job. To
write child documents, one needs to set the "es.mapping.parent" property in
the JobConf, which I believe then messes up writing of the parent
documents, which obviously don't have a parent. Is there a way to work
around this?

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f1404720-8704-4a4d-88ce-654920fdf7e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.