adding structure for parent child index

- missing is _mapping