lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chantal Ackermann <>
Subject FileNotFoundException
Date Wed, 05 Dec 2001 08:22:04 GMT
hello all,

I am still trying to find the best way to index a really big amount of data. 
at the moment I am trying to index each of the 29 textfiles in a single 
thread using for each an own IndexWriter and an own directory where to place 
the index. there are always six threads working the same time.

the problem that occures now is that every second thread stops due to a 
FileNotFoundException or an ArrayIndexOutOfBoundsException (the latter only 
once) while the other half finishes fine. the file's name is different for 
each thread but has always the extension ".fnm".

for example: 
/lucenetest/medlineIndex/1976-1977/_2zfj.fnm (Datei oder 
Verzeichnis nicht gefunden)
        at Method)
Code))        at<init>( Code))        
at<init>(Unknown Source)
        at<init>(Unknown Source)
        at Source)
        at org.apache.lucene.index.FieldInfos.<init>(Unknown Source)
        at org.apache.lucene.index.SegmentReader.<init>(Unknown Source)
        at org.apache.lucene.index.IndexWriter.mergeSegments(Unknown Source)
        at org.apache.lucene.index.IndexWriter.maybeMergeSegments(Unknown 
        at org.apache.lucene.index.IndexWriter.maybeMergeSegments(Unknown 
        at org.apache.lucene.index.IndexWriter.addDocument(Unknown Source)

since half of the files are indexed without throwing that kind of exception 
I'm at a loss where to start debugging. any ideas?

thanks a lot

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message