Are you sure, that there is no older lucene version somwhere in your classpath? Such problems are mostly caused by this.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: R.A.Ittoo [mailto:[email protected]] > Sent: Friday, October 16, 2009 11:38 AM > To: [email protected] > Subject: which version > > hi > i am using lucene version 2.9 > When calling the StandardAnalyzer constructor with the > VErsion.LUCENE_VERSION as parameter, I get the error > "symbol not found constructor > StandardAnalyzer(org.apache.lucene.util.Version)" > > this is strange, as it is supposed to be correct according to the API > doc and my jar file is called lucene-core-2.9.0.jar > > However, the deprecated constructor new StandardAnalyzer() (without > any parameters) worked fine. > > I am confused now as to whether i am really using version 2.9 > can anybody please advise? > > ashwin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
