You didn't say what browser, but we'll go with Safari. Open Safari Preferences, Search and pick what you want. You didn't say what version of the OS you have on that system, but all of them should work about the same. If you have a different browser, set the search in that browser, wherever it is.