![]() While you can use the CSM APIs to define a crawl scope programmatically, the CSM was designed to support end users as well. The CSM offers the following interfaces to help you do this programmatically. For example, if you install a new protocol handler, you can create a search root and add one or more inclusion rules then the indexer can start a crawl for the initial indexing. When you want the indexer to begin crawling a new container, you can use the CSM to set the search root(s) and scope rules for paths within the search root(s). The Crawl Scope Manager (CSM) is a set of APIs that lets you add, remove, and enumerate search roots and scope rules for the Windows Search indexer. You would need an inclusion rule for file:///C:\WorkteamA\ProjectFiles\ and an exclusion rule for file:///C:\WorkteamA\ProjectFiles\Prototypes\. For example, suppose you want everything within the ProjectFiles folder indexed except for the subfolder Prototypes. A scope rule is a rule that includes or excludes URLs within a search root from being crawled and indexed.When you add a new data store or protocol handler, you should also add a search root to the crawl scope. Search roots can identify locations that are specific to a user, that are on a remote computer, or that match a wildcard pattern. A search root is the top-level URL identifying a container or data store that is associated with a particular protocol handler.Items within the crawl scope are indexed items outside the crawl scope are ignored. For a hierarchical data store, the crawl scope can include a parent URL but exclude a child URL and vice versa. A crawl scope is a set of URLs pointing to data stores or containers (email data stores, databases, network file shares, and so on) that the indexer crawls to index items.To understand the Crawl Scope Manager, you must understand the following terms: Group Policies Supported by the Crawl Scope Manager. ![]() Administrators can use the CSM to view all users' indexes, search roots, and scope rules. Developers can use the CSM to define a crawl scope programmatically for a new data store or protocol handler. ![]() The Crawl Scope Manager (CSM) is a set of interfaces that provides methods to inform the Windows Search engine about containers to crawl and items under those containers to include or exclude in the catalog. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |