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!<?php use \Kuzzle\Kuzzle; $kuzzle = new Kuzzle('localhost'); $kuzzle->setDefaultIndex('myIndex');