Re: WhitespaceAnalyzer and version

2010-04-13 Thread Siraj Haider
Hi Shai, On 4/13/2010 1:41 AM, Shai Erera wrote: Hi WhitespaceAnalyzer definitely has a Version dependent ctor. What Lucene version do you use? You van use LUCENE_CURRENT but be aware that of a certain Analyzer's behavior has changed in a way that affects your app, you'll need to reindex your

Re: WhitespaceAnalyzer and version

2010-04-13 Thread Siraj Haider
Siraj Haider [mailto:si...@jobdiva.com] Sent: Monday, April 12, 2010 11:14 PM To: java-user@lucene.apache.org Subject: WhitespaceAnalyzer and version We are in the process of removing the deprecated api from our code to move to version. One of the deprecation is, the queryparser now expects a version par

RE: WhitespaceAnalyzer and version

2010-04-12 Thread Uwe Schindler
l: u...@thetaphi.de > -Original Message- > From: Siraj Haider [mailto:si...@jobdiva.com] > Sent: Monday, April 12, 2010 11:14 PM > To: java-user@lucene.apache.org > Subject: WhitespaceAnalyzer and version > > We are in the process of removing the deprecated api from ou

Re: WhitespaceAnalyzer and version

2010-04-12 Thread Shai Erera
Hi WhitespaceAnalyzer definitely has a Version dependent ctor. What Lucene version do you use? You van use LUCENE_CURRENT but be aware that of a certain Analyzer's behavior has changed in a way that affects your app, you'll need to reindex your data. Usually an Analyzer (or any other Version-awar

WhitespaceAnalyzer and version

2010-04-12 Thread Siraj Haider
We are in the process of removing the deprecated api from our code to move to version. One of the deprecation is, the queryparser now expects a version parameter in the constructor. I also have read somewhere that we should pass the same version to analyzer when indexing as wel as when search