Designed for Access, Acting as Exclusion: The Dangerous Paradox of 'Scoped Searchâ
https://www.nngroup.com/articles/scoped-search/

Scoped Search: Dangerous, but Sometimes Useful
Restricting search to a specific area of a website can provide better results, faster. But users overlook, misunderstand, and forget about the search scope.
Nielsen Norman Group