I don´t think it is the same problem, because I am now using an absolute path and now the segments file can not be found and not the directory itself. And it works
fine until I updated to 0.2.

You don´t need to attach my script or something else to this bugreport, because the Zend_Search_Lucene() call is all I have because I commented out all other to find the bug and it seems to be in the construction of Zend_Search_Lucene object.

-- Jan

Hi Jan,

As I remember, you had this problem some time ago.
You changed relative path to full path and it helped.

Error message is absolutely the same. But it's an exception now. (This was changed)


I've just created an issue for this problem - http://framework.zend.com/issues/browse/ZF-561.

Please attach to the issue or send me scripts, which you use for index creation and search.


With best regards,
   Alexander Veremyev.


Jan Pieper wrote:
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





Reply via email to