SearchIndexInfoProviderRebuildSiteIndexes Method |
Rebuilds all indexes which belongs to the specified site.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax 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