/** * @see xfIndex */ public function optimize() { $this->setup(); $start = microtime(true); $this->engine->open(); $this->getLogger()->log('Optimizing index...', $this->getName()); $this->engine->optimize(); $this->getLogger()->log('Index optimized in "' . round(microtime(true) - $start, 2) . '" seconds.', $this->getName()); }
/** * @see xfEngine */ public function optimize() { $this->engine->optimize(); }