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 <[email protected]> Sent: 28 October 2014 22:33 To: [email protected] 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 <[email protected]> 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
