lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Sewe <>
Subject Re: 5.x to 6.x migration: replacement for Lucene50Codec
Date Thu, 30 Mar 2017 07:17:16 GMT
Hi Adrien,

> If you move to Lucene 6.1, then this should be Lucene60Codec. More
> generally that would be the same codec that is returned by Codec.getDefault.

I should have mentioned that I for compatibility reasons still need to
be able to read/write indexes created with the old version, i.e., with
the 5.0 codec.

As the org.apache.lucene.codecs.lucene50 package is still around, I
think that this should be possible; there is just no ready-made Codec
for me to use.

I hope this clarifies things.

Best wishes,


Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

View raw message