/** * Send a Doctrine record to the search engine for indexing * * @param sfDoctrineRecord $record The record to index **/ public function addToIndex(sfDoctrineRecord $record) { $this->_searchHandler->index($record->getFieldsArray()); if($this->_inTransaction == 0) $this->_searchHandler->commit(); }