DocumentSearchIndexerPrepareBuildingValues Method |
Prepares sites, cultures, allowed and excluded collections for partial or full rebuild.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax 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:
BooleanReturns true if values are ready
See Also