Did some more digging around and found this bug:

http://framework.zend.com/issues/browse/ZF-561

relates to my errors with problem to open the segments file.

This bug is still open!
Status: Open
Proiority: Major

************************************************
Did one more test to see what was going on in the index directory:
************************************************

I open the explorer window in XP and view the content of the directory
containing the index files.
One file there is named "segments"

Now I start the script and it starts to write to the index (adding docs)....

After some time the script bails out and throw back an error message... same
as initially reported in this thread...
....
Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message
'fopen(c:/lucene/lucene/segments) [ function.fopen function.fopen ]: failed
to open stream: Permission denied' in
C:\www\htdocs\ZendFramework\Zend\Search\Lucene\Storage\File\Filesystem.php:63
Stack trace
....

Just after I got the error message to the client, some interesting stuff is
going on within my index directory:
segments file is gone
another file called segments.new is created as well as a bunch of _x.sfs
files

So the segments file is deleted by the engine.
If the file does not exist then I'm not surprised that the
'fopen(c:/lucene/lucene/segments)' failes.

Would appreciate to get some feedback on this, as well as if there is
anybody that will fix this bug sooner or laiter....

And why is it not a specific chapter in the zend_search_lucene manual that
list known problems.
It would save us, the end users, a lot of time and frustration if we did not
have to hit such bugs....

Regards




-- 
View this message in context: 
http://www.nabble.com/zend_search_lucene%3A-Is-this-a-bug--Error-after-adding-x-number-of-documents--%28ver.-0.8.0%29-tf3309996s16154.html#a9248652
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to