Get Parent Indices

Returns an array of relative parent indices for each item.