Unknown SDK

setDefaultIndex

Set the default index. Has the same effect than the defaultIndex constructor option.


Return Value

Returns the Kuzzle SDK object to allow chaining.

Usage

Copied to clipboard!
kuzzle.setDefaultIndex('index');