I am not sure what currently happens for composite id types. Maybe we should map them to actual document fields for the sake of searchability? That needs some more research.