ISearchManager interface (searchapi.h)
Provides methods for controlling the Search service. This interface manages settings and objects that affect the search engine across catalogs.
Inheritance
The ISearchManager interface inherits from the IUnknown interface. ISearchManager also has these types of members:
Methods
The ISearchManager interface has these methods.
ISearchManager::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. |
ISearchManager::get_LocalBypass Retrieves a value that determines whether the proxy server should be bypassed to find the item or URL. |
ISearchManager::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. |
ISearchManager::get_ProxyName Retrieves the proxy name to be used by the protocol handler. |
ISearchManager::get_UseProxy Retrieves the proxy server to be used. |
ISearchManager::get_UserAgent Retrieves the user agent string. |
ISearchManager::GetCatalog Retrieves a catalog by name and creates a new ISearchCatalogManager object for that catalog. |
ISearchManager::GetIndexerVersion Retrieves the version of the current indexer in two chunks:_the major version signifier and the minor version signifier. |
ISearchManager::GetIndexerVersionStr Retrieves the version of the current indexer as a single string. |
ISearchManager::GetParameter Not supported.This method returns E_INVALIDARG when called. (ISearchManager.GetParameter) |
ISearchManager::put_UserAgent Sets the user agent string that a user agent passes to website and services to identify itself. |
ISearchManager::SetParameter Not supported.This method returns E_INVALIDARG when called. (ISearchManager.SetParameter) |
ISearchManager::SetProxy Stores information in the indexer that determines how the indexer will work and communicate with a proxy server. |
Remarks
For a sample that demonstrates ways to specify which files to re-index and how, see the ReindexMatchingUrls sample.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 with SP1 [desktop apps only] |
Target Platform | Windows |
Header | searchapi.h |
Redistributable | Windows Desktop Search (WDS) 3.0 |