update: add setup of index type to theprimitive group data struct.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>