New answers tagged mental-models
GitHub does this quite well. When you're in a repo, the search field is set to search that repo with the option to change it to 'global'. When you're on a global page it defaults to global search, with the option to change it to 'users', 'help', etc.
What about a single field search with some options close by (checkbox or listbox "search in flagged only") ? If you don't have too many entries it can be a good solution. Anyway if you have multiple research field (but I woulnd't recommand it) you should indicate clearly what the search is about "Research in flagged only" in the field. (look at google page) ...
Top 50 recent answers are included