Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. detect the index version using getCurrentVersion(index_dir)
    1. 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
      1. Here's a new getVersion() method
      2. 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
  2. for any version older than LUCENE_35 go to 3, otherwise go to 6
  3. get lucene-core-3.5.0.jar from Maven Central
  4. run the IndexUpgrader class of Lucene 3.5 (or optimize())
  5. start up DSpace in order to start up Solr 4
  6. run the IndexUpgrader class of Lucene 4.4

...