Core
API v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

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 #