Re-building index at startup.