Hi,

the Apache Lucene/Solr committers decided with a large majority on the vote to 
require Java 7 for the next minor release of Apache Lucene and Apache Solr 
(version 4.8)!
Support for Java 6 by Oracle  already ended more than a year ago and Java 8 is 
coming out in a few days.

The next release will also contain some improvements for Java 7:
- Better file handling (especially on Windows) in the directory 
implementations. Files can now be deleted on windows, although the index is 
still open - like it was always possible on Unix environments (delete on last 
close semantics).
- Speed improvements in sorting comparators: Sorting now uses Java 7's own 
comparators for integer and long sorts, which are highly optimized by the 
Hotspot VM..

If you want to stay up-to-date with Lucene and Solr, you should upgrade your 
infrastructure to Java 7. Please be aware that you must use at least use Java 
7u1.
The recommended version at the moment is Java 7u25. Later versions like 7u40, 
7u45,... have a bug causing index corrumption. Ideally use the Java 7u60 
prerelease, which has fixed this bug. Once 7u60 is out, this will be the 
recommended version.
In addition, there is no Oracle/BEA JRockit available for Java 7, use the 
official Oracle Java 7. JRockit was never working correctly with Lucene/Solr 
(causing index corrumption), so this should not be an issue for you. Please 
also review our list of JVM bugs: http://wiki.apache.org/lucene-java/JavaBugs

Apache Lucene and Apache Solr were also heavily tested with all prerelease 
versions of Java 8, so you can also give it a try! Looking forward to the 
official Java 8 release next week - I will run my indexes with that version for 
sure!

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de



Reply via email to