Periodic tasks to update the search index.