Add doc values support to _parent field

PR for #6107
Can you add some javadoc on why we have this class and eg. don't use Guava's immutable set or Java's Collections.unmodifiableSet?