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

Reply via email to