Search scopes consist of source groups, areas, and topics. These items enable defining the content that will be searched when search queries are performed, and the depth of the search. By defining and using these components, flexible searches can be performed. The scopes are only available on the portal where they were created, but the content can come from other portals or information external to the server.
When creating a search scope, the options for including/excluding information are as follows:
Include All Content— Includes all areas and content source groups.
Include No Topic or Area in This Scope— Do not include any of the content referenced by internal topics or areas.
Exclude All Content Sources— No content sources are included in the search scope except for the default content source that defines the portal site content.
Include All Content Sources— All content sources are included in the search scope.
Limit the Scope to the Following Groups of Content Sources— Presents a list of the content source groups for selection and inclusion in the scope.
Administrator privileges are necessary for creating search scopes. As indicated by these options, the only way to create a scope with just one content source when multiple content sources are defined is to create a source group that contains just that single content source. Therefore, if you are unsure about how people plan to search content, it is a good practice to have each content source assigned to a content group. The groups can always be combined in a scope when multiple content sources are to be displayed.
A default search scope is created for each SharePoint site that contains all sources in the portal. In addition to this default scope, additional search scopes can be set up following these steps:
1. | On the SharePoint Portal Server 2003 site, click on Site Settings. This brings up the Site Settings page. |
2. | Click on Configure Search and Indexing. The Configure Search and Indexing page appears. |
3. | Click on Manage Search Scopes in the Search Settings and Indexed Content section of the page. The Manage Search Scopes page appears. |
4. | To add a new search scope, click on New Search Scope. The Add Search Scope page appears. |
5. | Enter a name for the search scope. |
6. | Complete the Topics and Areas box by indicating whether areas and topics are to be included in the search scope as follows:
|
7. | Content source groups can be created to group content outside the portal by type of content (refer to the section “Using Source Groups to Organize Content Sources” earlier in this chapter for information about content source groups). Complete the Content Source Group box by indicating whether content source groups are to be included in the search scope as follows:
|
8. |
Figure 14.13 shows an example of a search scope creation page.
The Manage Search Scope page displays the search scopes that have been created. They appear in the search scopes list in the same order as they appear on this page. To change the order, when holding the mouse over the search scope name, click on the arrow that appears to bring up the menu of options for the search scope. Click on Move Up or Move Down, depending on where the search scope is to be positioned.
The other menu options for a search scope are as follows:
Edit— Modifies the search scope. The name and selected resources can be changed.
Delete— Deletes the search scope. A confirmation dialog box appears.
Use as Default Scope— Sets a search scope as the default used for searches.
If the SharePoint portal is part of a shared-services environment, the portal can be associated with a search scope of another portal. This means that the contents of the current site are included in the search results of the associated site. To enable the content of the portal to be included or to disable it from being included in the search results of another portal, follow these steps:
1. | On the SharePoint Portal Server 2003 site, click on Site Settings. This brings up the Site Settings page. |
2. | Click on Use Search Scope from Another Portal Site in the Search Settings and Indexed Content section. The Associate Portal Site page appears. |
3. | To associate the current portal with another portal so that the results of the current portal can appear in search results on the associated portal, click on the Associate This Portal to the Following Portal radio button and then enter the URL for the associated SharePoint Portal Server 2003 site (include a “/” at the end of the name). |
4. | If the current portal is not to be associated with any other sites, click the Do Not Associate This Portal radio button. |
5. |
3.145.164.228