lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christiaan Fluit <>
Subject Re: MergeException
Date Tue, 21 Apr 2009 20:26:28 GMT
I have experienced similar problems (see the "semi-infinite loop during 
merging" thread - still working out the problem): the merger gets into 
an infinite loop and causes my drive to be filled with temporary files 
that are not deleted, until it runs out of space. Sometimes it exits 
with a MergeException wrapping one of a variety of IOExceptions (e.g. a 
FileNotFoundException), sometimes it just keeps on consuming all 
available CPU time.

I think the "_k0z.fnm" file name indicates that a lot of segments have 
already been created, as it starts iterating with _0, _1, ... I don't 
want to jump to conclusions immediately, but this is consistent with a 
merger gone loose.

Was your drive full as well afterwards?



Martine Woudstra wrote:
> Hi all,
> I'm using Lucene 2.4.1. for building an ngram index. Indexing works
> well until I try to open the index built so far with Luke. A
> MergeException is thrown, see below. Opening an index with Luke during
> indexing never caused problems with Lucene 2.3. Anyone familiar with
> this problem?
> Thanks in advance,
> Martine van der Heijden
> Exception in thread "Lucene Merge Thread #3067"
> org.apache.lucene.index.MergePolicy$MergeException:
> D:\indexngram\_k0z.fnm (Het systeem kan
> het opgegeven bestand niet vinden)
> 	at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(
> 	at org.apache.lucene.index.ConcurrentMergeScheduler$
> Caused by: D:\indexngram\_k0z.fnm (Het
> systeem kan het opgegeven bestand niet vinden)
> 	at Method)
> 	at<init>(
> 	at$FSIndexInput$Descriptor.<init>(
> 	at$FSIndexInput.<init>(
> 	at
> 	at
> 	at org.apache.lucene.index.CompoundFileWriter.copyFile(
> 	at org.apache.lucene.index.CompoundFileWriter.close(
> 	at org.apache.lucene.index.SegmentMerger.createCompoundFile(
> 	at org.apache.lucene.index.IndexWriter.mergeMiddle(
> 	at org.apache.lucene.index.IndexWriter.merge(
> 	at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(
> 	at org.apache.lucene.index.ConcurrentMergeScheduler$
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message