public static function optimizeLuceneIndex(Doctrine_Table $table) { $index = $table->getLuceneIndex(); return $index->optimize(); }