Hi Uwe, I just added the library in contrib directory (lucene-3.1.0/contrib/analyzers/common/lucene-analyzers-3.1.0.jar) and used the following code to instantiate
new SnowballAnalyzer(Version.LUCENE_CURRENT,"sb") Where should I make the configuration that it will use one of the existing stemmer ? On Sun, Apr 17, 2011 at 8:44 PM, Uwe Schindler <[email protected]> wrote: > Hi, > > Lucene does not contain a class sbStemmer. You have to choose one of the > following: > > http://lucene.apache.org/java/3_1_0/api/contrib-analyzers/org/tartarus/snowb > all/ext/package-summary.html<http://lucene.apache.org/java/3_1_0/api/contrib-analyzers/org/tartarus/snowb%0Aall/ext/package-summary.html> > > Your configuration of Snowball seems to be wrong, so it tries to load a > class that does not exist (sbStemmer). > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: [email protected] > > > > -----Original Message----- > > From: Neil Ghosh [mailto:[email protected]] > > Sent: Sunday, April 17, 2011 3:27 PM > > To: [email protected]; Jakarta General List > > Subject: Re: Unable to download Snowball ! > > > > I added the library in contrib directory > > (lucene-3.1.0/contrib/analyzers/common/lucene-analyzers-3.1.0.jar) > > > > But getting the following runtime exception > > > > Exception in thread "main" java.lang.RuntimeException: > > java.lang.ClassNotFoundException: org.tartarus.snowball.ext.sbStemmer > > > > On Sun, Apr 17, 2011 at 6:43 PM, Neil Ghosh <[email protected]> > wrote: > > > > > Rahul, What is this link about ? > > > > > > > > > On Sun, Apr 17, 2011 at 6:42 PM, Rahul Akolkar > > <[email protected]>wrote: > > > > > >> On Sun, Apr 17, 2011 at 8:49 AM, Neil Ghosh <[email protected]> > > wrote: > > >> > I have already downloaded lucene but where is the snowball analyzer > > >> > in > > >> that > > >> > ? > > >> > The one in contrib directory is throwing runtime exception > > >> > > > >> <snip/> > > >> > > >> http://lucene.apache.org/mail.html > > >> > > >> -Rahul > > >> > > >> > > >> > On Sun, Apr 17, 2011 at 6:16 PM, Rahul Akolkar > > >> > <[email protected] > > >> > > > >> > wrote: > > >> >> > > >> >> On Sun, Apr 17, 2011 at 8:34 AM, Neil Ghosh <[email protected]> > > >> wrote: > > >> >> > Hi, > > >> >> > > > >> >> > Unable to download snowball analyzer I am trying to use snowball > > >> >> > analyzer for my search engine but unable > > >> to > > >> >> > download the library. > > >> >> > > > >> >> <snip/> > > >> >> > > >> >> http://lucene.apache.org/ > > >> >> > > >> >> -Rahul > > >> >> > > >> >> > > >> >> > Please help > > >> >> > > > >> >> > -- > > >> >> > Thanks and Regards > > >> >> > Neil > > >> >> > http://neilghosh.com > > >> >> > > > >> > > > >> > > > >> > > > >> > -- > > >> > Thanks and Regards > > >> > Neil > > >> > http://neilghosh.com > > >> > > > >> > > > >> > > > >> > > > >> > > > > > > > > > > > > -- > > > Thanks and Regards > > > Neil > > > http://neilghosh.com > > > > > > > > > > > > > > > > > > -- > > Thanks and Regards > > Neil > > http://neilghosh.com > > -- Thanks and Regards Neil http://neilghosh.com
