lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tsuraan <tsur...@gmail.com>
Subject org.apache.lucene.index.MergePolicy$MergeException
Date Wed, 05 Aug 2009 16:26:46 GMT
I'm getting the exception
"org.apache.lucene.index.MergePolicy$MergeException: segment "_0
exists in external directory yet the MergeScheduler executed the merge
in a separate thread".  According to this:

http://mail-archives.apache.org/mod_mbox/lucene-java-user/200809.mbox/<BD2A1C59-F3DD-414A-9124-DB2EE7EE4D33%40mikemccandless.com>

that only happens with addIndexesNoOptimize.  If I replace
addIndexesNoOptimize with just addIndexes, will that fix the problem,
or is the suggestion in that reply (use SerialMergeScheduler somehow)
the only solution?

Using Lucene 2.3.2 with Java 1.6, in Linux, if that matters.

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