Hi all, I checked the Lucene 2.9.4 artifacts with Solr 1.4.1 and have seen no problems!
Attached you 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 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/. Maybe we can provide this patch-solr.xml file together with the artifacts or announce it in the release information, so everybody can use it to patch his Solr distribution? I also tested Lucene 3.0.3 with PANGAEA. +1 to release from me! ----- 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 1:58 AM > To: general@lucene.apache.org > Subject: [VOTE] Release of Apache Lucene 3.0.3 and 2.9.4 artifacts (take 1) > > Hi all Lucene Java committers and PMC, > > 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 1039805 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/LGM > > ----- > 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="version.new" 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-${version.new}.jar"/> <include name="contrib/**/lucene-analyzers-${version.new}.jar"/> <include name="contrib/**/lucene-highlighter-${version.new}.jar"/> <include name="contrib/**/lucene-memory-${version.new}.jar"/> <include name="contrib/**/lucene-misc-${version.new}.jar"/> <include name="contrib/**/lucene-queries-${version.new}.jar"/> <include name="contrib/**/lucene-snowball-${version.new}.jar"/> <include name="contrib/**/lucene-spellchecker-${version.new}.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 ${version.new}...</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>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 ${version.new}.</echo> </target> </project>