ISearchManager Interface

Provides methods for controlling the Search service. This interface manages settings and objects that affect the search engine across catalogs.

ISearchManager Members

get_BypassList Gets a proxy bypass list from the indexer. This list is used to determine which items or URLs are local and do not need to go through the proxy server. This list is set by calling ISearchManager::SetProxy.
get_LocalBypass Retrieves a value that determines whether the proxy server should be bypassed to find the item or URL.
get_PortNumber Retrieves the port number used to communicate with the proxy server. This port number is stored in the indexer and is set by the ISearchManager::SetProxy method.
get_ProxyName Retrieves the proxy name to be used by the protocol handler.
get_UseProxy Retrieves the proxy server to be used.
get_UserAgent Retrieves the user agent string.
GetCatalog Retrieves a catalog by name and creates a new ISearchCatalogManager object for that catalog.
GetIndexerVersion Retrieves the version of the current indexer in two chunks: the major version signifier and the minor version signifier.
GetIndexerVersionStr Retrieves the version of the current indexer as a single string.
GetParameter Not currently supported.
put_UserAgent Sets the user agent string that a user agent passes to Web site and services to identify itself.
SetParameter Not currently supported.
SetProxy Stores information in the indexer that determines how the indexer will work and communicate with a proxy server.

Remarks

The ReindexMatchingUrls code sample, available on Code Gallery and the Windows 7 SDK, demonstrates ways to specify which files to re-index and how.

Interface Information

Inherits from IUnknown
Header searchapi.h
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003 Service Pack 1 (SP1) with Windows Desktop Search (WDS) 3.0, Windows Vista