Make the index a view.