Dalet Flex documentation has moved!
This page is no longer actively maintained. For the latest documentation, please visit us at our new support portal: https://support.dalet.com
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.