Share via


Add a scope rule for a shared scope (Office SharePoint Server 2007)

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: 2009-05-26

Use this procedure to add a scope rule to an existing shared scope. At least one scope rule must be added to define the content included in the shared scope.

Important

To complete the following procedure, you must be a Search service administrator for the relevant Shared Services Provider (SSP) (for example, for SharedServices1 ). For more information, see Plan for security roles (Office SharePoint Server).
If you also have administration permissions for the Central Administration site, follow the procedure from step 1. If you do not have administration permissions for the Central Administration site, browse to the Shared Services Administration site (for example, http://[host:port]/ssp/admin/default.asp) and follow the procedure from step 2.

To add a scope rule to a shared scope

Add a scope rule to a shared scope

  1. In the SharePoint Central Administration site, in the Quick Launch, in the Shared Services Administration group, click the SSP (for example, SharedServices1). If prompted, provide your shared services administrator user name and password.

  2. On the Shared Services Administration page, in the Search section, click Search settings. On the Configure Search Settings page, in the Scopes section, click View Scopes.

  3. The View Scopes page shows the existing shared scopes for the SSP and the local scopes.

  4. On the View Scopes page, point to the shared scope to which you want to add the scope rule, click the arrow that appears, and then from the menu that appears, select Edit Properties and Rules.

  5. On the Scope Properties and Rules page, in the Rules section, click New Rule.

    Note

    If the shared scope does not have any scope rules, its Update Status will be displayed as Empty – Add rules. You can click Add rules to add the first scope rule.

  6. On the Add Scope Rule page, in the Scope Rule Type section, select one of the following scope rule types to identify the required subset of content to be included in this search scope from the search index:

    • Web address (https://server/site). In the Web address section select one of the following:

      • Folder – Enter a URL for the folder in the associated text box (for example, http://site/subsite/folder). The scope rule applies to items within the folder and its subfolders.

      • Hostname – Enter a host name in the associated text box. The scope rule applies to items anywhere on the host.

      • Domain or Subdomain – Enter a domain or subdomain in the associated text box (for example, widgets.msn.com). The scope rule applies to items anywhere within the domain or subdomain.

    • Property Query (Author = John Doe). In the Property Query section, select from the Add property restrictions list-box one of the available properties, and in the box below enter a value for this property. To apply multiple properties or values, define a separate scope rule for each property or value setting.

      Note

      To make additional managed properties available for use in scopes, go to the Search administration page for this SSP, and under Queries and Results click Metadata properties. On the Metadata Mapping page, click on the required property. On the Edit Manage Property page, in the Use in scope section, select Allow this property to be used in scopes.

    • Content Source. In the Content Source section, select one of the available sources from the list-box.

    • All Content. Scope rules of this type will include all the content in the index.

  7. For the Scope Rule Type selected, unless you selected All Content, you must specify how the identified content subset is to be interpreted. In the Behavior section, select one of the following:

    • Include. Items matching this scope rule are included in the search scope, unless excluded by another (Require or Exclude) scope rule type. By default, Include is selected.

    • Require. Items from other scope rules must match items from this scope rule to be included in the search results.

    • Exclude. Items matching this scope rule are always excluded from the search scope, even if they match other scope rules.

      Note

      If the scope is to have only a single scope rule, the behavior should be set to Include. Require and Exclude are applicable only when the scope has more than one scope rule.

  8. Click OK to save the changes.

    Note

    The Update Status for the scope will be set to New Scope. The Update Status will be changed to Ready after the next scheduled update is completed. You can force an update in the Search Administration site by clicking Start Update Now.

See Also

Concepts

Manage shared scopes (Office SharePoint Server 2007)
Define scopes for searches (Office SharePoint Server)
Create a shared scope (Office SharePoint Server 2007)
Edit properties and scope rules for a shared scope (Office SharePoint Server 2007)
Delete a shared scope (Office SharePoint Server 2007)