Hi, +1 for release the artifacts of take #2! I tested the following:
- PANGAEA works with 3.0.3 in production: Indexing and searching works, NRQ and our custom query parser. I also optimized a 10 GB index with CFS enabled and it correctly created no CFS anymore (after Mikes patch) - I patched Solr 1.4.1 distribution folder with the (newly attached) patch-solr.xml. The new ANT script now also changes common-build.xml to have the right Lucene version. After that I ran all tests without recompiling directly from binary artifact - no failures (expect the MBean test problem with a space in my username and so a space in directory name, this is fixed in 3.x/trunk) - Tests of both Lucene 2.9.4 and 3.0.3 ran on my local machine without problems. Finally I just wanted to discuss the "key changes" in 2.9.4 and 3.0.3, so I can prepare the announcement. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Uwe Schindler [mailto:u...@thetaphi.de] > Sent: Sunday, November 28, 2010 8:04 PM > To: general@lucene.apache.org > Subject: [VOTE] Release of Apache Lucene 3.0.3 and 2.9.4 artifacts (take 2) > > Hi all Lucene Java committers and PMC, > > As Robert found some test problems in the last release artifacts, I have > posted a release candidate for both Apache Lucene Java 2.9.4 and > 3.0.3 (which both have the same bug fix level, functionality and release > announcement), built from revision 1039909 of the corresponding branches. > > Thanks for all your help! Please test them and give your votes, the scheduled > release date for both versions will be Friday, December 3th, 2010. > Only votes from the Lucene PMC are binding, but everyone is welcome to > check the release candidate and voice their approval or disapproval. The vote > passes if at least three binding +1 votes are cast. > > We planned the parallel release with one announcement because of their > parallel development / bug fix level to emphasize that they are equal except > deprecation removal and Java 5 since major version 3. I will post the possible > release announcement soon for corrections. > > Artifacts (incl. Maven) and Changes.txt can be found here: > http://s.apache.org/fL > > Attached you will also find a cool ANT build script that can patch a Solr > 1.4.1 distribution to use Lucene 2.9.4: > > - Extract the binary Lucene distribution artifact: lucene-2.9.4.zip (not -src.zip a > svn checkout!) > - Place the attached patch-solr.xml file in the extracted Lucene distribution's > root folder > - Execute: > ant -f patch-solr.xml -Dsolr.dir=/path/to/Solr-1.4.1-distibution > > After that you have a patched Solr, with updated lib/ folder and updated war > files in dist/ and example/webapps/. > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: u...@thetaphi.de >
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project name="patch-solr" default="patch" basedir="."> <property name="lucene.version" value="2.9.4"/> <property name="solr.version" value="1.4.1"/> <property name="solr.war" location="${solr.dir}/dist/apache-solr-${solr.version}.war"/> <fileset id="jars" dir="."> <include name="lucene-core-${lucene.version}.jar"/> <include name="contrib/**/lucene-analyzers-${lucene.version}.jar"/> <include name="contrib/**/lucene-highlighter-${lucene.version}.jar"/> <include name="contrib/**/lucene-memory-${lucene.version}.jar"/> <include name="contrib/**/lucene-misc-${lucene.version}.jar"/> <include name="contrib/**/lucene-queries-${lucene.version}.jar"/> <include name="contrib/**/lucene-snowball-${lucene.version}.jar"/> <include name="contrib/**/lucene-spellchecker-${lucene.version}.jar"/> </fileset> <macrodef name="patch-war"> <attribute name="warfile"/> <attribute name="jardir"/> <sequential> <move file="@{warfile}" tofile="@{warfile}.old"/> <zip destfile="@{warfile}" keepcompression="true"> <zipfileset src="@{warfile}.old" excludes="WEB-INF/lib/lucene-*.jar"/> <zipfileset dir="@{jardir}" includes="lucene-*.jar" prefix="WEB-INF/lib"/> </zip> <delete file="@{warfile}.old"/> </sequential> </macrodef> <target name="check-solr"> <available property="solr.available" file="${solr.war}" /> <fail unless="solr.available">You have to specify a Solr ${solr.version} distribution directory in command line: -Dsolr.dir=/path/to/Solr-${solr.version}</fail> </target> <target name="patch" depends="check-solr"> <echo>Upgrading Solr ${solr.version} distribution in '${solr.dir}' to Lucene ${lucene.version}...</echo> <echo/> <echo>Updating JAR files in lib folder...</echo> <delete verbose="true"> <fileset dir="${solr.dir}/lib" includes="lucene-*.jar"/> </delete> <copy todir="${solr.dir}/lib" flatten="true" verbose="true"> <fileset refid="jars"/> </copy> <echo/> <echo>Updating common-build.xml...</echo> <replaceregexp file="${solr.dir}/common-build.xml" match="(\"lucene\_version\".*\")2\.9\.\d(\")" replace="\1${lucene.version}\2" flags="m" /> <echo/> <echo>Patching the main WAR file...</echo> <patch-war warfile="${solr.war}" jardir="${solr.dir}/lib"/> <echo/> <echo>Patching the example WAR and delete work directory contents before...</echo> <delete includeemptydirs="true" verbose="false"> <fileset dir="${solr.dir}/example/work" includes="**/*"/> </delete> <patch-war warfile="${solr.dir}/example/webapps/solr.war" jardir="${solr.dir}/lib"/> <echo/> <echo>Solr ${solr.version} distribution in '${solr.dir}' upgraded to Lucene ${lucene.version}.</echo> </target> </project>