Update indexes at query time

Update documentation to explain when indexing is done