Simplify document indexing