u need to update the Lucene Jars in pom.xml to relevant versions. On Wed, Oct 29, 2014 at 4:50 PM, Tom LAMPERT <t.lamp...@laboquantup.eu> wrote:
> Hi Suneel, > > Thank you for your help but replacing all instances of LUCENE_46 with > LUCENE_410 (or 47, 48, etc) results in a 'cannot find symbol' error: > > ERROR] > /mahout/trunk/mrlegacy/src/main/java/org/apache/mahout/common/lucene/AnalyzerUtils.java:[35,53] > cannot find symbol > [ERROR] symbol: variable LUCENE_47 > [ERROR] location: class org.apache.lucene.util.Version > > Should I also be replacing some lucene jars? > > Kind regards, > > Tom > > ________________________________________ > From: Suneel Marthi <smar...@apache.org> > Sent: 28 October 2014 22:33 > To: user@mahout.apache.org > Subject: Re: Lucene version compatibility > > Yes it should be possible, and we have been upgrading to the latest and > greatest Lucene versions at the point of Release and may be a trivial > change. > Just gotta replace all references in the code for 'Version_46' with > 'Version_<Latest>'. > > Also Lucene >= 4.7 mandate Java 1.7. > > On Tue, Oct 28, 2014 at 5:21 PM, Tom LAMPERT <t.lamp...@laboquantup.eu> > wrote: > > > Hello, > > > > Does anyone know whether it is possible to upgrade the version of lucene > > that mahout's lucene.vector and luecene2seq functions are compatible > with? > > Currently they require lucene 4.6.1 indexes but this version is already > > quite dated... > > > > Kind regards, > > > > Tom >