lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: FileNotFoundException
Date Wed, 05 Dec 2001 12:38:37 GMT
I don't have an explanation for this, but if it was me indexing
this large amount of data I'd be running each of the 6 in a
completely separate process.  More control, less damage when
one bit fails, perhaps better performance on a multi-processor
machine.  And perhaps you wouldn't get this problem!


Chantal Ackermann wrote:
> 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)
>         at<init>(
> 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
> Source)
>         at org.apache.lucene.index.IndexWriter.maybeMergeSegments(Unknown
> Source)
>         at org.apache.lucene.index.IndexWriter.addDocument(Unknown Source)
>         at
> de.biomax.lucenetest.MedlineRecordIndexer.indexDocs(
> Code))
> 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
> chantal

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

View raw message