Hi all,
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.
Thanx
Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]