/** * Commit the changes made to the search engine. * * @see needCommit() */ public function commit() { if (method_exists($this->searchHandler, 'commit')) { $this->searchHandler->commit(); } }