lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject Re: Reading a v2 index in v4
Date Mon, 09 Jun 2014 12:53:59 GMT
On Mon, Jun 9, 2014 at 10:17 PM, Adrien Grand <> wrote:
> Hi,
> It is not possible to read 2.x indices from Lucene 4, even with a
> custom codec. For instance, Lucene 4 needs to hook into
> to detect old 3.x indices and force the use of the
> Lucene3x codec since these indices don't expose what codec has been
> used to write them.

Rats. I was wondering how the Lucene3x codec worked, but now I know. I
was hoping codecs were going to be more flexible than that, but it
looks like nobody considered the possibility that I might want to pass
a Codec into my IndexReader. :(


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

View raw message