Versions Compared

Key

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

...

  • Solr index format upgrade from 1.6,1.7,1.8 to 5 currently requires manual, undocumented steps (see below). 2 options:
    1. We automate it -
      1. Seems more difficult than anticipated. There is no longer any way to easily get the Index version, as "getCurrentVersion()" has been removed (see below).
        1. updated for current version below
    2. We document it - Currently documented in the 5.x Upgrade instructions (step #12)
  • Jira
    serverDuraSpace JIRA
    columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
    serverIdc815ca92-fd23-34c2-8fe3-956808caf8c5
    keyDS-2249
    Seems like we have 2 options:
    1. put Tomcat-specific code to JSPUI's web.xml
    2. just document this Tomcat 7-specific warning
      On DevMtg 2014-11-05 we decided to document for RC1 and decide before RC2

...

  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. 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

...