SearchTaskInfoProviderCreateTask Method (SearchTaskCreationParameters, NullableBoolean) |
Creates task in the database and start indexer if it is required.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax public static void CreateTask(
SearchTaskCreationParameters parameters,
Nullable<bool> runIndexer = null
)
Parameters
- parameters
- Type: CMS.SearchSearchTaskCreationParameters
Search task creation parameters - runIndexer (Optional)
- Type: SystemNullableBoolean
Whether indexer starts after creation. If not specified this behaviour depends on current settings.
See Also