Hi - if you don't want specific words passed through a stemmer, you need to supply a CharArraySet with exclusions as the second argument to its constructor. Markus
-----Original message----- > From:Dwaipayan Roy <dwaipayan....@gmail.com> > Sent: Monday 14th March 2016 15:31 > To: java-user@lucene.apache.org > Subject: Problem with porter stemming > > I am using EnglishAnalyzer with my own stopword list. EnglishAnalyzer uses > the porter stemmer (snowball) to stem the words. But using the > EnglishAnalyzer, I am getting erroneous result for 'news'. 'news' is > getting stemmed into 'new'. > > Any help would be appreciated. > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org