I have created a WildCard managed path named
departments, and then under this managed path I have created five “Publishing site- enterprise Wiki” site collections.
Now, by default, each of the enterprise site collection will have a Search functionality to search all the Pages content, attachments etc.
But I want to allow users to either search a specific Site collection or to search all the site collectiosn under the specific managed path. How can this be done?