Let the platform do the work

/Administration/search/reindex POST

Overview

[ADMIN] Search schedule reindex

Summary

This endpoint schedules a reindex. This endpoint is only available to administrators.

Request Arguments

Name Type Description Required
module_list String Comma delimited list of modules to be reindexed. If omitted, all search enabled modules will be reindexed.
Example: Accounts,Contacts
False
clear_data Boolean If set the records of the selected modules will be removed from the search backend and the schema will be recreated. All records from given modules will be queued to be reindexed which is orchestrated by the job queue. If not set, nothing is dropped from the search backend and all records of the selected modules are queued for reindexing. This is the default behavior.
Example: Accounts,Contacts
False

Response

{
    "success": true
}

Change Log

Version Change
v10 Added /Administration/search/reindex POST endpoint.