SearchHelperRebuildIndex Method (SearchIndexInfo, ActionSearchIndexInfo) |
Rebuilds search index with given rebuild action and sets correct status of the index based on the rebuild result.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 13.0.131
Syntax public static void RebuildIndex(
SearchIndexInfo searchIndex,
Action<SearchIndexInfo> rebuildAction
)
Parameters
- searchIndex
- Type: CMS.SearchSearchIndexInfo
Search index. - rebuildAction
- Type: SystemActionSearchIndexInfo
Action to use for index rebuild.
See Also