Using the Search Manager
The ISearchManager interface provides methods that make changes across catalogs. Changes made at the ISearchManager level apply globally to all catalogs used by the indexer, while changes made at the ISearchCatalogManager level apply to specific catalogs. However, currently, Windows Search uses only one catalog, SystemIndex. You can use the Search Manager to do the following:
- Get an instance of the Catalog Manager for the search catalog.
- Get version information about the Windows Search engine.
The following methods of the ISearchManager interface can help you manage your search catalog(s):
|GetCatalog||Gets a catalog by name and returns an instance of ISearchCatalogManager for that catalog. This enables you to manage an individual search catalog.|
|GetIndexerVersion||Returns the version of the indexer in two integers: major version and minor version. For example, the major version number for Windows Vista Search and Windows Search 3.0 on Windows XP is "3" and the minor version number is "0".|
|GetIndexerVersionStr||Returns the complete version number of the indexer as a string: for example, "03.00.5824.280".|
For more information about these methods, see the ISearchManager documentation.
The following ISearchManager methods are reserved for future use. They are, however, implemented and do not affect the indexer or catalog, as there is only one catalog for Windows Search at this time.
GetParameter and SetParameter are also reserved for future use but are not implemented.
- Managing the Index
- Interfaces for Managing the Index
- Using the Catalog Manager
- Using the Crawl Scope Manager
Build date: 11/16/2013