Delay configuration until search is first used, so loading order and env vars don't cause a problem