Creates task in the database and start indexer if it is required.
Namespace: CMS.SearchAssembly: CMS.Search (in CMS.Search.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- taskType
- Type: CMS.Search SearchTaskTypeEnum
Task type
- objectType
- Type:
System String
Object type. Not required for rebuild or optimize tasks.
- objectField
- Type:
System String
Object field
- objectValue
- Type:
System String
Object value
- objectID
- Type:
System Int32
ID of an object this task relates to, 0 if there is none
- runIndexer (Optional)
- Type:
System Nullable
Boolean
Whether indexer starts after creation. If not specified this behaviour depends on current settings.
See Also