On Mon, Jun 9, 2014 at 10:17 PM, Adrien Grand <jpou...@gmail.com> 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
> SegmentInfos.read 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. :(

TX

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to