refreshInternal #
Forces an immediate reindexation of Kuzzle internal storage.
When writing or deleting security documents in Kuzzle (users, profiles, roles, and so on), the changes need to be indexed before being reflected in the search results.
By default, this operation can take up to 1 second.
Note: forcing immediate refreshes comes with performance costs, and should only performed when absolutely necessary.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/_refreshInternal
Method: POST
Other protocols #
{
"controller": "index",
"action": "refreshInternal"
}
Response #
Returns a confirmation that the index is being refreshed:
{
"status": 200,
"error": null,
"controller": "index",
"action": "refreshInternal",
"requestId": "<unique request identifier>",
"result": {
"acknowledged": true
}
}
Possible errors #
Edit this page on Github(opens new window)