Click or drag to resize
SearchIndexInfoProviderRebuildSiteIndexes Method
Rebuilds all indexes which belongs to the specified site.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 10.0.0
Syntax
C#
public static void RebuildSiteIndexes(
	SiteInfoIdentifier site,
	bool runIndexer = true
)

Parameters

site
Type: CMS.DataEngineSiteInfoIdentifier
ID or name of the site the indexes of which should be rebuilt
runIndexer (Optional)
Type: SystemBoolean
Indicates whether the indexer starts immediately
See Also