Disable indexing through celery when it's disabled.