Issues

ZF-1885: index.lock problem

Issue Type: Bug Created: 2007-08-27T13:57:00.000+0000 Last Updated: 2008-03-21T16:25:16.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Alexander Veremyev (alexander) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

Related issues: Attachments:

Description

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

<pre class="highlight">
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

Posted by Alexander Veremyev (alexander) on 2007-08-27T14:24:38.000+0000

Fixed

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts