示例#1
0
 /**
  * Optimize the Solr index
  *
  * @return void
  */
 public function optimizeSolr()
 {
     $updater = new SolrUpdater($this->db, $this->basePath, $this->log, $this->verbose, $this->cursorTimeout);
     $this->log->log('optimizeSolr', 'Optimizing Solr index');
     $updater->optimizeIndex();
     $this->log->log('optimizeSolr', 'Solr optimization completed');
 }