Is it possible to create deeper nested indexes via DIH? If yes, how it is working?
parent -> child -> child's child -> ...
I found examples to parse deeper nested indexes via Block Join, but no examples to create this via DIH.
Example how I imagine this:
<dataConfig>
<dataSource type="JdbcDataSource" />
<document>
<entity name="PARENT" query="select * from PARENT">
<field column="id" />
<field column="desc" />
<field column="type_s" />
<entity child="true" name="CHILD" query="select * from CHILD where parent_id='${PARENT.id}'">
<field column="id" />
<field column="child_id" />
<field column="desc" />
<field column="type_s" />
<entity childschild="true" name="CHILDSCHILD" query="select * from CHILDSCHILD where child_id='${CHILD.child_id}'">
<field column="child_id" />
<field column="desc" />
<field column="type_s" />
</entity>
</entity>
</document>
</dataConfig>
Thanks!