search with swift_config_environment