Get parent and child objects in 1 query?

Hey all,

I am new with ES and I wonder if this is possible:

I have a user and a video type.

In my RDB structure the user and video table has many to many relation,
meaning a user can have more videos and a video can have more users.

And still am figuring how to make a local join (any ideas?)

But Now I have to make the video as parent and I added the user as child
but with no parent id as reference but as type parent is video.

Is there a way to get all the users and the video data in 1 search?

Best regards,


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
To view this discussion on the web visit
For more options, visit