Issues

ZF-561: fopen(....): failed to open stream: No such file or directory

Description

Problem is initially reported by Jan Pieper in an FW-General:

Subject: [fw-general] problem using Zend_Search_Lucene

I´ve big problems by using Zend_Search_Lucene after the update to version 0.2.

$index = new Zend_Search_Lucene('/var/www/html/private/app/lucene', true);

I get Zend_Search_Lucene_Exception with this message:

Zend_Search_Lucene_Exception caught: fopen(/var/www/html/private/app/lucene/segments): failed to open stream: No such file or directory

The directory /var/www/html/private/app/lucene/ extists (after running the script). Changing chmod to 777 and running the script again does not function. I´ll get this exception again.

Whats up? Why this does not function?

-- Jan

Comments

There also was a problem, which looks the same: http://www.nabble.com/Problems-with-....

Changing component to Zend_Search_Lucene.

Thanks Bill! I've forgotten this. It's already too later here :)

Seems it was fixed with moving to the Lucene 2.1 index format support.

Index lockless processing and index clean-up improvements are finished with the latest Zend_Search_Lucene commits.

Please re-open issue if problem still exists.

Updating for the 1.6.0 release.