2

Is it possible to combine a parent document and a child document of the same parent in to a single doc with fields from both documents using either reindex or scripting?

For example, let's say parent document have fields A,B,C,D and child documents have fields D,E,F,G,H. I want every parent-child pair to be a single doc with fields A,B,C,D,E,F,G,H. If there are 3 children for a single parent, i need three documents where each document has child plus parent fields.

I know it's possible to do it using an external client. Wanted to know if this can be done with in the cluster.

Nithin Chandy
  • 686
  • 1
  • 10
  • 28

0 Answers0