Document indexing subsystem