DocumentPointer.repetitionIndexes(). Immutable, like pathParts, rather than a fresh mutable copy.
DocumentPointer.repetitionIndexes()