lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martine Woudstra <woudstr...@gmail.com>
Subject MergeException
Date Tue, 21 Apr 2009 15:01:48 GMT
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:
java.io.FileNotFoundException: D:\indexngram\_k0z.fnm (Het systeem kan
het opgegeven bestand niet vinden)
	at org.apache.lucene.index.ConcurrentMergeScheduler.handleMergeException(ConcurrentMergeScheduler.java:309)
	at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:286)
Caused by: java.io.FileNotFoundException: D:\indexngram\_k0z.fnm (Het
systeem kan het opgegeven bestand niet vinden)
	at java.io.RandomAccessFile.open(Native Method)
	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
	at org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:552)
	at org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:582)
	at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:488)
	at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:482)
	at org.apache.lucene.index.CompoundFileWriter.copyFile(CompoundFileWriter.java:221)
	at org.apache.lucene.index.CompoundFileWriter.close(CompoundFileWriter.java:184)
	at org.apache.lucene.index.SegmentMerger.createCompoundFile(SegmentMerger.java:204)
	at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4263)
	at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3884)
	at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:205)
	at org.apache.lucene.index.ConcurrentMergeScheduler$MergeThread.run(ConcurrentMergeScheduler.java:260)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message