setDefaultIndex

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


Return Value

Returns the Kuzzle SDK object to allow chaining.