ISearchManager interface

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

Members

The ISearchManager interface inherits from the IUnknown interface. ISearchManager also has these types of members:

Methods

The ISearchManager interface has these methods.

MethodDescription
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 website 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.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Searchapi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft