clear-index

clear-index


clear-file Index Level clear-jobs
Syntax clear-index file.reference {index.expression}
Category TCL
Type Verb
Description clears the specified b-tree index expression in the specified file, leaving only a null root.

Indices may be cleared indiviually, or all at once by using an "*" as the index.expression.
Options
See Also create-index verify-index ROOT delete-index
Example clear-index entity a1

This clears the index on attribute 1 of the entity file.

clear-index invoices *

This clears ALL indices from the "invoices" file.
Warnings
Compatibility D3 7.0 AP
clear-file Index Level clear-jobs