SDK
SDK Javascript v5.x
1

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');