Remap ranks to indexable documents.