ISearchCatalogManager::ReindexSearchRoot Method

Re-indexes all URLs from a specified root.

Syntax

HRESULT ReindexSearchRoot(      
    LPCWSTR pszRootURL
);

Parameters

  • pszRootURL
    [in]  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

Returns S_OK if successful, or an error value otherwise.

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.