lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject UnsupportedOperationException from Outputs.merge, during addIndexes
Date Sun, 10 Dec 2017 22:19:48 GMT
Hi all.

I have an addIndexes call which in my over-weekend run threw an
UnsupportedOperationException from deep inside Lucene's code.

I'm wondering what sort of condition this is expected to occur in. The
source postings it's writing might be corrupt in some way, and if I
figure out what way it's corrupt, I can try to work around it.

I'm sure it's reproducible so I've put a breakpoint on the spot
already, but it takes a long time to get there.

Version in use is Lucene 6.6.0.


    at org.apache.lucene.util.fst.Outputs.merge(
    at org.apache.lucene.util.fst.Builder.add(
    at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter$PendingBlock.append(
    at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter$PendingBlock.compileIndex(
    at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter$TermsWriter.writeBlocks(
    at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter$TermsWriter.pushTerm(
    at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter$TermsWriter.write(
    at org.apache.lucene.codecs.blocktree.BlockTreeTermsWriter.write(
at org.apache.lucene.codecs.FieldsConsumer.merge(
    at org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsWriter.merge(
    at org.apache.lucene.index.SegmentMerger.mergeTerms(
    at org.apache.lucene.index.SegmentMerger.merge(
    at org.apache.lucene.index.IndexWriter.addIndexes(

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

View raw message