Düzenle

Aracılığıyla paylaş


Interfaces for Managing the Index

Windows Search enables you to manage the Windows Search index with three main components: Search Manager, Catalog Manager, and Crawl Scope Manager. Some of these management interfaces can be used with standard user privileges, but those that change the state of the index require administrative privileges.

About the Interfaces for Managing the Index

Component Interfaces Description
Search Manager ISearchManager Provides methods to retrieve and set information about Windows Search:
  • Getting an instance of the Catalog Manager for a specific catalog.
  • Getting or setting proxy information.
  • Getting version information about the Windows Search engine.
For more information, see Using the Search Manager.
Catalog Manager ISearchCatalogManager
ISearchCatalogManager2
Provides methods to manage an individual search catalog, such as causing a re-indexing or setting time-outs. This interface manages the catalog in four areas:
  • Catalog contents - ensuring that new data is indexed and that other applications and components work properly by forcing a re-indexing of all or part of the catalog or by resetting the entire catalog.
  • Catalog properties - setting properties that determine how the catalog manages time-outs when connecting to protocol handlers and how diacritical marks are treated in searches.
  • Catalog status - getting information about the catalog, including status, size, and current activity state.
  • Access to other interfaces - retrieving other search-related interfaces required by the Crawl Scope Manager, data change notifications, and the ISearchQueryHelper interface.
For more information, see Using the Catalog Manager.
Crawl Scope Manager IEnumSearchRoots
IEnumSearchScopeRules
ISearchCrawlScopeManager
ISearchCrawlScopeManager2
ISearchRoot
ISearchScopeRule
ISearchItem
Provides methods to inform the search engine about containers to crawl or watch, and items under those containers to include or exclude in the index. You can also query the Crawl Scope Manager to see if a particular URL is in the crawl scope. For more information, see Using the Crawl Scope Manager.

Managing the Index

Using the Search Manager

Using the Catalog Manager

Using the Crawl Scope Manager