Issues

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

Issue Type: Bug Created: 2006-11-16T15:14:32.000+0000 Last Updated: 2008-09-02T10:39:45.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

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

Related issues: Attachments:

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

Posted by Alexander Veremyev (alexander) on 2006-11-16T15:15:54.000+0000

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

Posted by Bill Karwin (bkarwin) on 2006-11-16T15:35:29.000+0000

Changing component to Zend_Search_Lucene.

Posted by Alexander Veremyev (alexander) on 2006-11-16T15:58:46.000+0000

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

Posted by Alexander Veremyev (alexander) on 2008-07-26T05:10:56.000+0000

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.

Posted by Wil Sinclair (wil) on 2008-09-02T10:39:45.000+0000

Updating for the 1.6.0 release.

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