generate search Config object from Type