Page History
...
- detect the index version using getCurrentVersion(index_dir)
- NOTE: Looks like the 4.4.0 version of IndexReader no longer contains this getCurrentVersion() function. It was deprecated in 3.6.0 and removed thereafter
- Here's a new getVersion() method
- In case it turns out to be useful, here's how CheckIndex determines the versions on a per-segment basis: http://grepcode.com/file/repo1.maven.org/maven2/org.apache.lucene/lucene-core/4.9.0/org/apache/lucene/index/CheckIndex.java#407
- NOTE: Looks like the 4.4.0 version of IndexReader no longer contains this getCurrentVersion() function. It was deprecated in 3.6.0 and removed thereafter
- for any version older than LUCENE_35 go to 3, otherwise go to 6
- get lucene-core-3.5.0.jar from Maven Central
- run the IndexUpgrader class of Lucene 3.5 (or optimize())
- start up DSpace in order to start up Solr 4
- run the IndexUpgrader class of Lucene 4.4
...
Overview
Content Tools