Issues

ZF-1885: index.lock problem

Description

The error occurs while creating new index (on Windows platform):


Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'File 'index/index.lock' is not readable.' in U:\ZendFramework\trunk\library\Zend\Search\Lucene\Storage\File\Filesystem.php:58
Stack trace:
#0 U:\ZendFramework\trunk\library\Zend\Search\Lucene\Storage\Directory\Filesystem.php(301): Zend_Search_Lucene_Storage_File_Filesystem->__construct('index/index.loc...')
#1 U:\ZendFramework\trunk\library\Zend\Search\Lucene\Index\Writer.php(319): Zend_Search_Lucene_Storage_Directory_Filesystem->getFileObject('index.lock')
#2 U:\ZendFramework\trunk\library\Zend\Search\Lucene\Index\Writer.php(445): Zend_Search_Lucene_Index_Writer->_updateSegments()
#3 U:\ZendFramework\trunk\library\Zend\Search\Lucene\Index\Writer.php(225): Zend_Search_Lucene_Index_Writer->commit()
#4 U:\ZendFramework\trunk\library\Zend\Search\Lucene.php(1178): Zend_Search_Lucene_Index_Writer->addDocument(Object(Zend_Search_Lucene_Document_Html))
#5 U:\ZendFramework\trunk\library\Zend\Search\Lucene\Proxy.php(432): Zend_Search_Lucene->addDocument(O in U:\ZendFramework\trunk\library\Zend\Search\Lucene\Storage\File\Filesystem.php on line 58

Comments

Fixed