indexing of uploaded docs