http://www.mail-archive.com/java-user@lucene.apache.org/msg27095.html shows a way to check what version you actually are using.
-- Ian. On Fri, Oct 16, 2009 at 11:09 AM, Uwe Schindler <u...@thetaphi.de> wrote: > 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: u...@thetaphi.de > > >> -----Original Message----- >> From: R.A.Ittoo [mailto:r.a.it...@rug.nl] >> Sent: Friday, October 16, 2009 11:38 AM >> To: java-user@lucene.apache.org >> 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: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org