Lazy load docs when indexing

This should make it go faster