Rebuilding index deletes old index and puts everything back