Thanx for your answer.
I will use the latest version to check this. Unfortunately I have only
access to the computer, where the application will be run, once a week.
And I can't reproduce the error at my local machine or any other
computer I have access to.
So If someone has (better had) the same error, now it's the time to go
public !!!
Rob
i hope someone can help me. If I index a file directory I get the error
you see here.
caught a class java.io.IOException
with message: Cannot delete _57e.tis
Exception in thread "main" java.io.IOException: Cannot delete _57e.tis
at
org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:198)
at
org.apache.lucene.index.SegmentMerger.createCompoundFile(SegmentMerger.java:157)
at
org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:100)
at
org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:487)
at
org.apache.lucene.index.IndexWriter.maybeMergeSegments(IndexWriter.java:458)
at
org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:310)
So Lucene tries to delete this file, which exists and can be deleted
manually. But somehow Lucene can't.
The weird thing is, if I index the same directory (same content, not
same network) on my local machine, there is no such error.
I have searched the Internet for these kind of error and found only
advises about closing the FileWriter, which I do.
I use lucene-1.5-rc1.
There are several sneaky IO related issues in Lucene, that have now been
fixed
in Lucene 2.1, that could explain this. Is it possible to test Lucene
2.1 to
see if this issue is still happening?
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]