lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: MergeException
Date Tue, 21 Apr 2009 20:43:32 GMT
Are you opening the index with Luke while indexing is still running?

Also, I don't understand why Luke would be causing any merging to
occur.  Or: did you ask Luke to optimize your index?

Mike

On Tue, Apr 21, 2009 at 11:01 AM, Martine Woudstra <woudstra.m@gmail.com> 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:
> 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
>
>

---------------------------------------------------------------------
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