reindex_audit
Triggers a re-index event on the audit collection of the database. This operation may require an extended amount of time, depending on the size of your audit collection.
Description
Executing a re-index rebuilds the indexing configuration file for audit collection and then re-indexes the audit 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_audit
Example URL
http://<host>:<port>/<context>/web/search.xql?action=reindex_audit
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.