ContentSource::UpdateMultiple (open)
Execute multiple reindex actions
Syntax
LOADLIB "mod::consilio/lib/catalogs.whlib";
MACRO UpdateMultiple(RECORD ARRAY actions, RECORD options)Parameters
RECORD ARRAY actionsActions to execute
STRING actionAction to take. Either reindex or delete
STRING groupidGroup ID. Required unless deleting a specific object
STRING objectidExplicit object ID, leave empty to reindex/delete the whole group
RECORD optionsOptions
BOOLEAN foregroundRun in the foreground, wait for index to be refreshed
BOOLEAN refreshRefresh after the actions (if not set refreshes only if running in the foreground)
Description
This allows catalogs to combine multiple actions (once support is available). If this action fails halfway through it may be unpredictable which actions succeeded and which failed.