if you looking for a good alternative for google search, try "SearXNG"
actually awesome and fast search engine (depending on which instance you use) with no trashy AI and ADs results also great for privacy, if you don't know which instance to use go to https://searx.space/ and choose an instance closest to you
Been rocking self-hosted Searxng for the last 3 weeks now as my default search engine; it's as good or better than DDG and certainly better than Google. Results I need are usually within the first three items, no extraneous shit.
I thought I'd just try it out, but it's staying. The ability to tune the background engines is awesome. My search history is private (though I wasn't that worried about DDG, there was no way in fuck I was using Kagi) since it's running it's searches via a VPN and returning me results locally.
Keep in mind that to protect your privacy you should also share your instance with others. All the searches are still linked to an IP which can be abused as well.
Its all calls to other engines, that you can choose and tune. So its making those calls and filtering out shit like AI results, and then ranking it to return back to you. Seems to do a good job.