Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3537

Add note about Java 7u1 and 6u29 to Lucene/Solr sites



    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • general/website
    • New


      Oracle confirmed, that the bugs leading to index corruption and SIGSEGV are fixed in Java 7u1 and 6u29. We should post a message to the news sections revising the previous WARNING (LUCENE-3349). I prepared something, please comment before i commit:

      <section><title>26 October 2011 - Java 7u1 fixes index corruption and crash bugs in Apache Lucene Core and Apache Solr</title>
      <p>Oracle released <a href="http://www.oracle.com/technetwork/java/javase/7u1-relnotes-507962.html">Java 7u1</a> on October 19.
      According to the release notes and tests done by the Lucene committers, all bugs reported on July 28 are fixed in this release,
      so code using Porter stemmer no longer crashes with <code>SIGSEGV</code>. We were not able to experience any index corruption anymore,
      so it is safe to use Java 7u1 with Lucene Core and Solr.</p>
      <p>On the same day, Oracle released <a href="http://www.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html">Java 6u29</a>
      fixing the same problems occurring with Java 6, if the JVM switches <code>-XX:+AggressiveOpts</code>
      or <code>-XX:+OptimizeStringConcat</code> were used. Of course, you should <strong>not</strong> use experimental JVM options like
      <code>-XX:+AggressiveOpts</code> in production environments! We recommend everybody to upgrade to this latest version 6u29.</p>
      <p>In case you upgrade to Java 7, remember that you may have to reindex, as the unicode
      version shipped with Java 7 changed and tokenization behaves differently
      (e.g. lowercasing). For more information, read <code>JRE_VERSION_MIGRATION.txt</code>
      in your distribution package!</p>

      I plan to commit this later this afternoon.


        Issue Links



              Unassigned Unassigned
              uschindler Uwe Schindler
              0 Vote for this issue
              1 Start watching this issue