index based on document type, not extension