private function _getIndexWriter()
    {
        if ($this->_writer === null) {
            include_once 'Zend/Search/Lucene/Index/Writer.php';
            $this->_writer = new Zend_Search_Lucene_Index_Writer(
                $this->_directory,
                $this->_segmentInfos,
                $this->_formatVersion
            );
        }

        return $this->_writer;
    }
private function _getIndexWriter()
    {
        if ($this->_writer === null) {
            include_once 'Zend/Search/Lucene/Index/Writer.php';
            $this->_writer = new Zend_Search_Lucene_Index_Writer(
                $this->_directory,
                $this->_segmentInfos,
                $this->_formatVersion
            );
        }

        return $this->_writer;
    }
private function _getIndexWriter ( ) { if ( $ this -> _writer === null ) { include_once 'Zend/Search/Lucene/Index/Writer.php' ; $ this -> _writer = new Zend_Search_Lucene_Index_Writer ( $ this -> _directory , $ this -> _segmentInfos , $ this -> _formatVersion ) ; } return $ this -> _writer ; }
Returns an instance of Zend_Search_Lucene_Index_Writer for the index

@return Zend_Search_Lucene_Index_Writer
Returns an instance of Zend_Search_Lucene_Index_Writer for the index