Publishing ParentChild 1n Docs

I am trying to publish a record which has a 1-n relationship in it - Selecting from EMP and DEPT tables from an Oracle DB
using IS 4.6
example- One employee is assigned to multiple depts. My parent record is of type EMP and one of the attribute of EMP record is a recordlist of type DEPT. I am trying to publish the output to ES 5.0. I have created the required document and publish subscribe part in ES.
The child attribute (DEPT as struct in ES) is not populating. Please let me know if anybody has worked on similar stuff.
Thanks in advance