ISearchCatalogManager::ReindexSearchRoot method (searchapi.h)

Re-indexes all URLs from a specified root.

Syntax

HRESULT ReindexSearchRoot(
  [in] LPCWSTR pszRootURL
);

Parameters

[in] pszRootURL

Type: LPCWSTR

Pointer to a null-terminated, Unicode buffer that contains the URL on which the search is rooted. This URL must be a search root previously registered with ISearchCrawlScopeManager::AddRoot.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The indexer begins an incremental crawl of all start pages under pszRootURL upon successful return of method.

Old information remains in the catalog until replaced by new information during the re-indexing.

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