create indexes for the next day in a slow background thread