according to http://www.mail-archive.com/solr-user@lucene.apache.org/msg40491.html
there is no more trunk support for 2.9 indexes. So I tried the suggested solution to execute an optimize to convert a 2.9.3 index to a 3.x index. However, when I tried to the optimize a 2.9.3 index using the Solr 4.0 trunk version with luceneMatchVersion set to LUCENE_30 in the solrconfig.xml, I am getting SimplePostTool: POSTing file optimize.xml SimplePostTool: FATAL: Solr returned an error: Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. ------------------------------------------------------------- java.lang.RuntimeException: org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported in file '_0.fdx': 1 (needs to be between 2 and 2). This version of Lucene only supports indexes created with release 3.0 and later. Is there any other mechanism for converting index files to 3.x? 2011/1/6 Johannes Goll <johannes.g...@gmail.com> > Hi, > > our index files have been created using Lucene 2.9.3 and solr 1.4.1. > > I am trying to use a patched version of the current trunk (solr 1.5.0 ? ). > The patched version works fine with newly generated index data but > not with our existing data: > > After adjusting the solrconfig.xml - I added the line > > <luceneMatchVersion>LUCENE_40</luceneMatchVersion> > > also tried > > <luceneMatchVersion>LUCENE_30</luceneMatchVersion> > > I am getting the following exception > > "java.lang.RuntimeException: > org.apache.lucene.index.IndexFormatTooOldException: > Format version is not supported in file '_q.fdx': 1 (needs to be between 2 > and 2)" > > When I try to change it to > > <luceneMatchVersion>LUCENE_29</luceneMatchVersion> > > or > > <luceneMatchVersion>2.9</luceneMatchVersion> > > or > > <luceneMatchVersion>2.9.3</luceneMatchVersion> > > I am getting > > "SEVERE: org.apache.solr.common.SolrException: Invalid luceneMatchVersion > '2.9', valid values are: [LUCENE_30, LUCENE_31, LUCENE_40, LUCENE_CURRENT] > or a string in format 'V.V'" > > Do you know a way to make this work with Lucene version 2.9.3 ? > > Thanks, > Johannes > -- Johannes Goll 211 Curry Ford Lane Gaithersburg, Maryland 20878