You need to create search scopes to achieve it
https://support.office.com/en-za/article/Define-scopes-for-searches-65c26a72-f3d3-42ba-8027-1bf7260b6acf
https://technet.microsoft.com/en-us/library/ee792872%28v=office.14%29.aspx
To add or edit a scope rule at the service application level
-
Verify that the user account that is performing this procedure is a service application administrator for the Search service application.
-
In Central Administration, in the Application Management section, click
Manage service applications.
-
On the Manage Service Applications page, in the list of service applications, click
Search Service Application.
-
On the Search Administration page, in the Quick Launch, under Queries and Results, click
Scopes. The View Scopes page appears.
-
On the View Scopes page, in the list of scopes, point to the name of the scope that you want to edit, click the arrow that appears, and then click
Edit Properties and Rules.
-
To add a new rule, on the Scope Properties and Rules page, in the Rules section, click
New Rule. The Add Scope Rule page appears. To edit an existing rule, on the Scope Properties and Rules page, in the
Rules section, click the rule that you want to edit. The Edit Scope Rule page appears.
-
In the Scope Rule Type section, select one of the following options:
-
Web Address. Select this option if you want the scope to include or exclude content from any resource in the search index that can be identified either by a URL (such as Web sites, file shares, and Microsoft Exchange Server public folders)
or by a host name, domain name, or subdomain name.
-
Property Query. Select this option if you want the scope to include or exclude content that has a managed property with a particular value. For example, Author="John Doe".
-
Content Source. Select this option if you want the scope to include or exclude content that was crawled by using a particular content source.
-
All Content. Select this option if the rule should not restrict the scope (the scope will include or exclude all content in the index).
-
In the Behavior section, select an option to specify how this rule combines with other rules to define the scope:
-
Include Any item that matches this rule will be included, unless the item is excluded by another rule. Use this option to apply an OR rule.
-
Require Every item in the scope must match this rule. Use this option to apply an AND rule.
-
Exclude Items matching this rule will be excluded from the scope. Use this option to apply an AND NOT rule.
For example, if you apply include rules named I1 and I2, require rules named R1 and R2, and exclude rules named E1 and E2, the resulting scope equals the following:
(I1 OR I2) AND R1 AND R2 AND (NOT E1) and (NOT E2)
-
Click OK.