added get doc at index to IDocVector