Hi, No, its not possible. The Version.LUCENE_23 param passed to several Lucene components is only to emulate behaviour on analysis (like tokenization rules) or specific settings from previous versions. The indexes created by IndexWriter can only be read by same or newer versions.
With Lucene 4.0'c Codec API, it would be eventually possible to write a "codec" that emits the very ancient index format, but that's not planned and up to the user to do this if he has time and money :-). ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: David Linde [mailto:davidli...@gmail.com] > Sent: Monday, February 20, 2012 10:08 PM > To: java-user@lucene.apache.org > Subject: Is it possible to create an index with lucene core version 3.3+ by using > Version.2_3 that I can then open an index with the original lucene core 2.3 > version? > > Hi, > > Is it possible to create an index with lucene core version 3.3+ by using > Version.2_3 that I can then open an index with the original lucene core 2.3 > version? > > I tried doing the above and receive the error message "Unknown format > version: -11" error message (when trying to opening the index from the lucene > core 2.3 version). > > Is what I am doing just not possible? or am I missing something? > > Probably a shot in the dark but, is there an index converter to older versions > from newer versions? Unfortunately upgrading the older version is not an > option for me right now. :( > > Thanks in advance! > > David --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org