One reason google is an effective search engine is society has incentives to make their stuff findable. It’s not just magic algorithms. The perception of Google’s quality is as much because we all know when we write an article how to make informative titles and content, and knowledge if we’re too spammy we’ll be punished. Eventually black hat SEO suffers in the long run.
I work in search, and one huge reason a given companies enterprise or site search sucks is because content authors don’t care about making their content findable by search. A search system is a series of social incentives to make attractive, findable search results, not just technology.