reindex
Triggers a re-index event on the database excluding audit data. This operation may require an extended amount of time, depending on the size of your database.
Description
Executing a re-index rebuilds the indexing configuration files and then re-indexes all of the content in the database against these new definitions. You must execute a re-index if you ever add, modify, or remove search categories. It is also recommended that you re-index your database after an upgrade of the Content Delivery application.
Parameters
- action
- reindex
Example URL
http://<host>:<port>/<context>/web/search.xql?action=reindex
Successful Result
This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.
Failed Result
Accessing this API feature requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available.