You can upgrade the indexes with org.apache.lucene.index.IndexUpgrader. You'll need to do it in steps, from 2.x to 3.x to 4.x, but should work fine as far as I know.
-- Ian. On Tue, Nov 20, 2012 at 10:16 AM, Ramprakash Ramamoorthy < youngestachie...@gmail.com> wrote: > I understand lucene 2.x indexes are not compatible with the latest version > of lucene 4.0. However we have all our indexes indexed with lucene 2.3. > > Now that we are planning to migrate to Lucene 4.0, is there any work > around/hack I can do, so that I can still read the 2.3 indices? Or is > forgoing the older indices the only option? > > P.S : Am afraid, Re-indexing is not feasible. > > -- > With Thanks and Regards, > Ramprakash Ramamoorthy, > Chennai, > India. >