Manage scope rules (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.

 

Topic Last Modified: 2015-03-09

Scope rules define what is included in or excluded from a search scope. For more information about search scopes, see Manage search scopes (Office SharePoint Server).

Rules identify content according to a variety of parameters, and then the rules specify whether that content is included or excluded according to specified behavior parameters.

Scope rules are managed on the Scope Properties and Rules page:

  1. Open the administration page for the Shared Services Provider (SSP).

    To open the administration page for the SSP, do the following:

    1. On the top navigation bar, click Application Management.

    2. On the Application Management page, in the Office SharePoint Server Shared Services section, click Create or configure this farm’s shared services.

    3. On the Manage this Farm’s Shared Services page, click the SSP whose administration page you want to open.

  2. On the Shared Services Administration Home page, in the Search section, click Search settings.

  3. On the Configure Search Settings page, in the Scopes section, click View scopes.

  4. On the View Scopes page, point to the scope that you want to edit, click the arrow that appears, and then click Edit Properties and Rules on the menu that appears.

What do you want to do?

  • Add a scope rule

  • Edit or delete a scope rule

  • Delete all scope rules

Add a scope rule

  1. On the Scope Properties and Rules page, in the Rules section, click New rule.

  2. On the Add Scope Rule page, in the Scope Rule Type section, select one of the following options:

    Web Address (https://server/site)

    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 Exchange public folders) or by a host name, domain name, or subdomain name.

    • In the Web Address section, select one of the following options:

      Option Description

      Folder

      Select this option if you want to include or exclude items in the folder and subfolders of the indicated URL (for example, http://site/subsite/folder).

      Hostname

      Select this option if you want to specify a host name. All items in the host name will be included or excluded from the scope (according to the behavior rules).

      Domain or subdomain

      Select this option if you want to specify a domain or subdomain (for example, office.microsoft.com). All items in the domain or subdomain will be included in or excluded from the scope.

    Property Query (Author = John Doe)

    Select this option if you want the scope to include or exclude content that has a particular string in a managed property.

    1. In the Property Query section, select the managed property that you want to use to limit the search scope on the Add property restrictions menu.

    2. In the = box, type the string that the managed property needs to match.

    Content Source

    Select this option if you want the scope to include or exclude content that resides in a particular content source.

    • In the Content Source section, in the corresponding menu, select the content source.

    All Content

    Select this option if the rule should not restrict the search scope (the search scope will include or exclude all content in the search index).

  3. Settings in the Behavior section affect how the rule is combined with other rules. Select one of the following options:

    • Include. Select this option for an “OR” rule.

    • Require. Select this option for an “AND” rule.

    • Exclude. Select this option for 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)

  4. Click OK.

Modify or delete a scope rule

  • On the Scope Properties and Rules page, in the Rules section, click the rule that you want to modify.

    For information about the settings for the rule, see the Add a scope rule section.

    To delete the rule, click Delete, and then click OK in the message box that asks you whether you want to delete the rule.

Delete all scope rules

  1. On the Scope Properties and Rules page, in the Rules section, click Delete all rules.

  2. In the message box that asks whether you want to delete all scope rules, click OK.