SDK
SDK Javascript v5.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.

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 #

kuzzle.setDefaultIndex('index');