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:///api/accounts/{accountId}/elastic/reindex
This API is not meant to be public so it should always remain internal.
The parameters of the API are the following:
Parameter | Parameter Type | Data Type | Mandatory | Description |
accountId | Path | Long | Yes | The ID of the account to be performed the re-index. |
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.
Comments
0 comments
Please sign in to leave a comment.