Click or drag to resize
SearchIndexInfoProviderGetSiteIndexes Method
Returns search indexes of specified site. Tries to load it from cache, if not found indexes are loaded from DB.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 9.0.0
Syntax
C#
public static List<int> GetSiteIndexes(
	int siteId
)

Parameters

siteId
Type: SystemInt32
Site id

Return Value

Type: ListInt32
List with indexes ids. Never null, if no indexes for site, empty list is returned.
See Also