Add doc values support to _parent field

PR for #6107
Certain types maybe configured with doc values and others not, so it is possible that `typeBuilders.size() < parentTypes.size()` and typeBuilders.size() is not `0`.