handle multiple docIndex entries pointing to the same document text