No, don't change your search line in resolv.conf.
The search and domain directives help your system resolve names that are not fully qualified (eg. host1 vs. host1.example.com). This is useful when you are referring to machines in your own LAN, but is unnecessary for resolving names in general.
You need valid nameserver directives in your resolv.conf. Place the most reliable nameserver first. Eg:
This nameserver IP address will be given to you by your ISP, network admin, or other provider.
Test nameserver lookups with dig or nslookup:
$ nslookup apple.com
$ dig +noall +answer apple.com
apple.com. 86369 IN A 18.104.22.168
If the nameserver you are using is problematic or unreliable, find and use a reliable one. If you need more help, describe what nameserver you are using,