public function rebuild($indexName) { $commandClass = $this->getCommandClass('index.rebuild'); $this->command = new $commandClass($indexName); return $this->command; }
public function testRebuildIndex() { $query = new Query(); $query->rebuild('*'); $this->assertHttpStatus(200, $this->doQuery($query)); }