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 #
<?php
use \Kuzzle\Kuzzle;
$kuzzle = new Kuzzle('localhost');
$kuzzle->setDefaultIndex('myIndex');
Edit this page on Github(opens new window)