On Thu, Nov 29, 2012 at 4:05 AM, kiwi clive <kiwi_cl...@yahoo.com> wrote:
> Be aware that StandardAnalyzer changed slightly. This is particularly > important if you use it to analyze email addresses and certain text-numeral > combinations. My understanding is that the newer version of > StandardAnalyzer is more consistent with what it should be doing but if you > relied on its old functionality, that could bite you. > > There are two solutions that I am aware of: > (1) Replace StandardAnalyzer with ClassicAnalyzer which I believe is the > 'old' StandardAnalayzer before it was fixed. > (2) Use StandardAnalyzer with Version_23 rather than Version_40. > > Cheers, > Clive > > Thank you Chive. That definitely helped! > > ________________________________ > From: Ramprakash Ramamoorthy <youngestachie...@gmail.com> > To: java-user@lucene.apache.org > Sent: Tuesday, November 20, 2012 10:31 AM > Subject: Re: Using Lucene 2.3 indices with Lucene 4.0 > > On Tue, Nov 20, 2012 at 3:54 PM, Danil ŢORIN <torin...@gmail.com> wrote: > > > However behavior of some analyzers changed. > > > > So even after upgrade the old index is readable with 4.0, it doesn't mean > > everything still works as before. > > > > Thank you Torin, I am using the standard analyzer only and both the systems > use Unicode 4.0 and I don't smell any problems here. > > > > > On Tue, Nov 20, 2012 at 12:20 PM, Ian Lea <ian....@gmail.com> wrote: > > > > > You can upgrade the indexes with org.apache.lucene.index.IndexUpgrader. > > > You'll need to do it in steps, from 2.x to 3.x to 4.x, but should work > > > fine as far as I know. > > > > > > > > > -- > > > Ian. > > > > > > Thank you Ian, this is giving me some head starts. > > > > > > > > > > On Tue, Nov 20, 2012 at 10:16 AM, Ramprakash Ramamoorthy < > > > youngestachie...@gmail.com> wrote: > > > > > > > I understand lucene 2.x indexes are not compatible with the latest > > > version > > > > of lucene 4.0. However we have all our indexes indexed with lucene > 2.3. > > > > > > > > Now that we are planning to migrate to Lucene 4.0, is there any work > > > > around/hack I can do, so that I can still read the 2.3 indices? Or is > > > > forgoing the older indices the only option? > > > > > > > > P.S : Am afraid, Re-indexing is not feasible. > > > > > > > > -- > > > > With Thanks and Regards, > > > > Ramprakash Ramamoorthy, > > > > Chennai, > > > > India. > > > > > > > > > > > > > -- > With Thanks and Regards, > Ramprakash Ramamoorthy, > Engineer Trainee, > Zoho Corporation. > +91 9626975420 > -- With Thanks and Regards, Ramprakash Ramamoorthy, Engineer Trainee, Zoho Corporation. +91 9626975420