Revert "delete the index"

This reverts commit 8608828ee7fc2ff9270958190e5e097ba34b6b13.