Skip to main content
Version: Next

RESUME INDEXES

RESUME INDEXES ( aTable {; *} )

ParameterTypeDescription
aTableTable🡒Table for which to resume indexes
*Operator🡒If passed = asynchronous indexing

Description

The RESUME INDEXES command reactivates all the indexes of aTable when they have been paused previously using the PAUSE INDEXES command. If the indexes of aTable have not been paused, this command does nothing.

In most cases, executing this command triggers the rebuilding of the indexes for aTable.
If you pass the optional * parameter, the rebuilding of the indexes is performed in asynchronous mode. This means that the method calling the command continues its execution after this call, regardless of whether the indexing is finished or not. If you omit this parameter, the rebuilding of the indexes blocks the execution of the method until the rebuilding operation is completed.

The RESUME INDEXES command can only be called from 4D Server or a local 4D. If this command is executed from a remote 4D machine, the error -10513 is generated. This error can be intercepted using a method installed by the ON ERR CALL command.

See also

CREATE INDEX
PAUSE INDEXES