Adding a Search Scope
CES 7.0.5639+ (July 2013)
Note: CES 7.0.5556– (June 2013) Use the deprecated custom search feature (see Configuring a Custom Scope With the .NET Interface Editor).
To add a search scope
-
On the Coveo server, access the Administration Tool (see Opening the Administration Tool).
-
In the Administration Tool, select Index > Search Scopes.
-
In the Search Scopes page, click Add.
-
In the Add Search Scope page:
-
In the Name box, enter a name for the search scope.
Note: This name will appear in the .NET Interface Editor when assigning a search scope to a .NET search interface (see Configuring the Scope of a .NET Search Interface).
-
In the Description box, optionally enter information to help you understand the purpose of this search scope.
-
Select the Exclude Local Mirror check box when you want this scope to only refer to remote indexes defined in the Additional Indexes to Search section of this page.
-
In the Local Filter Expression box, enter the filter expression that define this search scope.
This expression is only applied to the local index so it is disabled and has no effect when the Exclude Local Mirror check box is selected.
Example: You want to create a search scope to narrow search to your SharePoint Intranet source. Enter the following filter expression that uses field query:
@syssource=Intranet
-
Next to Collections, when you want to narrow the search scope to one or more collections of your local index, select the check box for the appropriate collection(s).
You cannot select collections when the Exclude Local Mirror check box is selected.
-
In the Additional Indexes to Search section, when you want to include content from one or more remote indexes (other Coveo instances within your organization) in this search scope:
-
Click Add Remote Index.
-
In the Index column, select the remote index to include.
Note: When the drop-down list in the Index column is empty, you must first define one or more remote indexes accessible to this local Coveo instance (see Adding or Modifying Remote Indexes).
-
In the Filter Expression column, optionally enter a filter expression to narrow search results from this remote index.
-
In the Collections column, optionally select the check box for one or more collections from this remote index for which you want to narrow the search scope.
-
In the Execution Time (sec) column, enter a timeout value in seconds to wait for results from this remote index before aborting the search. When you enter 0, the search interface waits indefinitely.
Example: When a WAN connection separates the local and remote indexes, you can enter 3 (sec) to prevent the .NET search interface using this search scope from freezing when the connection is overloaded and delaying the return of the remote search results.
-
-
Click Save.
-
What's Next?
-
Consider setting one of your search scopes as the default scope (see Setting a Default Search Scope).
-
Assign the search scope to the appropriate .NET search interface(s) on one or more Coveo Front-End servers (see Configuring the Scope of a .NET Search Interface