Restoring doc index

Inexplicably got deleted during last commit