Click or drag to resize
DocumentSearchIndexerPrepareBuildingValues Method
Prepares sites, cultures, allowed and excluded collections for partial or full rebuild.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static bool PrepareBuildingValues(
	SearchIndexInfo indexInfo,
	out List<int> sites,
	out string cultures,
	out SafeDictionary<string, string> allowedNodes,
	out SafeDictionary<string, string> excludedNodes,
	string nodeAliasPath
)

Parameters

indexInfo
Type: CMS.SearchSearchIndexInfo
Search index
sites
Type: System.Collections.GenericListInt32
List of sites
cultures
Type: SystemString
List of cultures
allowedNodes
Type: CMS.BaseSafeDictionaryString, String
List of allowed classes
excludedNodes
Type: CMS.BaseSafeDictionaryString, String
List of excluded classes
nodeAliasPath
Type: SystemString
Node alias path. If is specified, all allowed nodes must be beneath this path

Return Value

Type: Boolean
Returns true if values are ready
See Also