Assuming that the question relates to a search bar and URL bar being displayed separately in Safari on Mac, the answer is simple: there is no way to do it. These browser components were merged into a single area with the release of Safari 6 back in 2012. Therefore, entering keywords in the website address bar will return the results via the search engine specified in Safari settings. The same principle was implemented in Google Chrome, Firefox, and other popular web browsers years ago. It’s the industry standard nowadays. If the question is about searching for files and apps stored on a Mac, then you need to bring up the Spotlight interface where you can type an item name and get quick results. To open Spotlight, click the icon with the magnifying glass pictogram in the menu bar (or press the Command-Space key combination) and enter what you are looking for.