If you want to search for custom fields you should use a plugin called Relevanssi (https://wordpress.org/plugins/relevanssi/).
This plugin enables the standard wp search to look for terms inside custom fields also (it basically overrides the standard wp search).
There is a setting in relevanssi that you can enable in order to make all custom fields searchable.