just in time indexing