Customizing the All Sources scope
Delete or replace the All Sources default scope.
When the user clicks the Search Center pull-down list to select a
scope, the first scope on the list is the default scope. By default, All Sources
is set to be the default scope.All Sources scope is a special scope in
portal. This scope has a unique ID and it searches in all the search collections
that are accessible to the user, including collections from existing local
and remote search services. The All Sources scope can be deleted or customized
just like other search scopes. There are three possible actions that can be
performed on the All Sources scope:
- Choose a different default scope
- Delete the All Sources scope
- Re-add the All Sources scope
To change the default search scope from All Scopes to a different
scope, re-order the scopes using search administration:
- Navigate to the Manage Search portlet by clicking .
- Click Search Scopes.
- Move the scope that you want to be the default scope up to the top of
the scopes list by clicking the up-arrow icon next to the scope name. The
first scope on the list becomes the default search scope.
Note: Users have to clear their browser cache for the new scope to be
available and displayed in the right position.
The All Sources
scope is created using a mechanism called out-of-the-box (OOB) scopes registration
and it is stored as a property in the administrative console. Since the All
Scopes scope is added using the OOB scopes registration mechanism,
delete the All Scopes scope using both the administrative console and the
search administration interface:
- Remove the All Sources scope from the scopes list using search
administration:
- Navigate to the Manage Search portlet by clicking .
- Click Search scopes.
- Delete the All Sources scope.
- Remove the All Sources property from the administrative console:
- In the administrative console for the server, click the plus
sign next to Resources.
- Click Resource Environment Providers.
- In the Resource Environment Providers page, select one of the
following options, depending on your portal environment:
- If your portal is running as a single server, select Browse nodes and
select the node.
- If your portal is installed in a cluster, select Browse Clusters and
select the portal cluster.
- Select the WP ScopeConfigService service.
- Click Custom Properties.
- Select the All Sources property and delete
it.
You can re-add the All Sources scope only if this scope does not exist
in the current scopes list. The All Sources scope is added using the administrative
console. Once you add it using the console, it is automatically added to the
Search Center scopes list. A service called ScopeConfigService is registered
and the configured All Sources scope is added as custom property of this service.
The scope is implemented based on a scope XML element.
- In the administrative console for the server, click the plus sign next
to Resources.
- Click Resource Environment Providers.
- In the Resource Environment Providers page, select one of the following
options, depending on your portal environment:
- If your portal is running as a single server, select Browse nodes and
select the node.
- If your portal is installed in a cluster, select Browse Clusters and
select the portal cluster.
- Select the WP ScopeConfigService service.
- Click Custom Properties.
- Click New to create a new scope property.
- Name the new property All Sources. Enter this XML
scope element as the property value:
<scope id="com.ibm.lotus.search.ALL_SOURCES">
<title xml:lang="en">All Sources</title>
<description xml:lang="en">All Sources accessible by the user</description>
<scopeProperty key="iconURI" value="images/icons/scope_search_all.gif"/>
<scopeElement></scopeElement>
</scope>
Note: You can change the name, description and icon for the new
scope. To create a scope in a language other than English, change the xml:lang
attribute to the desired locale, such as de for German.
- Click Save to save the new property.
Parent topic: portlets, such as a searchlet or recommended links. The searchlet displays search results from third-party external search engines such as Yahoo and Google. Using the recommended links portlet, display search results from a collection of predefined links with predefined keywords. You can also configure the All Sources scope or replace it with a customized scope.">Customizing the Search Center
Related tasks
Adding and configuring a searchlet
Configuring and adding a recommended links portlet
Managing search scopes and custom links
|
|
|