Reindex

Reindex API

Sometimes there is a need to perform a re-index on Elastic Search. Eventually this may happen between deploys, if the mapping of any field requires a change. An internal API has provided in order to perform the re-index.

    http://<publish-url>/api/accounts/{accountId}/elastic/reindex
    

Note: This API is not meant to be public so it should always remain internal

The parameters of the API are the following:

Table 1.
Parameter Parameter Type Data Type Mandatory Description
accountId path long yes The ID of the account to be performed the re-index.

Note: This API is asynchronous, and so, a response does not mean the re-index has alreadybeen performed. It is also important to note that whilst the re-index is being performed all the "write" operations for the account will be disabled.

Was this article helpful?