In the reindex controller action, use set_time_limit(0) to make it possible to index really large collections.