rahulgoswami commented on PR #14607:
URL: https://github.com/apache/lucene/pull/14607#issuecomment-3452356128
Yeah seems like the error is since the lucene-backward-codecs.jar doesn't
contain codecs for 7.x anymore. The test was succeeding earlier since we were
bailing out by looking at indexCreatedVersionMajor in SegmentInfos
straightaway. With the new change we are looking into each segment which needs
the codec to open the segment.
> Caused by:
> java.lang.IllegalArgumentException: An SPI class of type
org.apache.lucene.codecs.Codec with name 'Lucene70' does not exist. You need
to add the corresponding JAR file supporting this SPI to your classpath. The
current classpath supports the following names: [Lucene104, Asserting,
CheapBastard, DeflateWithPresetCompressingStoredFieldsData,
FastCompressingStoredFieldsData, FastDecompressionCompressingStoredFieldsData,
HighCompressionCompressingStoredFieldsData,
LZ4WithPresetCompressingStoredFieldsData, DummyCompressingStoredFieldsData,
ConfigurableMCodec, SimpleText, Lucene80, Lucene84, Lucene86, Lucene87,
Lucene90, Lucene91, Lucene92, Lucene94, Lucene95, Lucene99, Lucene912,
Lucene100, Lucene101, Lucene103]
> at
[email protected]/org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:113)
> at
[email protected]/org.apache.lucene.codecs.Codec.forName(Codec.java:119)
> at
[email protected]/org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:528)
> ... 47 more
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]