Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-30 Thread Pedro Lacerda
Sunday, January 29, 2012 3:33 AM > > To: java-user@lucene.apache.org > > Subject: Re: How to avoid filtering stop words like "IS" in > StandardAnalyzer > > > > Pedro's suggestion seems to work fine. Not sure where I should use > > CharArraySet.EMPTY_

RE: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-29 Thread Uwe Schindler
...@thetaphi.de > -Original Message- > From: Cheng [mailto:zhoucheng2...@gmail.com] > Sent: Sunday, January 29, 2012 3:33 AM > To: java-user@lucene.apache.org > Subject: Re: How to avoid filtering stop words like "IS" in StandardAnalyzer > > Pedro's sug

Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Cheng
http://www.thetaphi.de > eMail: u...@thetaphi.de > > > > -Original Message- > > From: Uwe Schindler [mailto:u...@thetaphi.de] > > Sent: Saturday, January 28, 2012 12:52 PM > > To: java-user@lucene.apache.org > > Subject: RE: How to avoid filtering

RE: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Uwe Schindler
gt; To: java-user@lucene.apache.org > Subject: RE: How to avoid filtering stop words like "IS" in StandardAnalyzer > > Right, but Collections.emptySet() should be used :-) > > - > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de >

RE: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Uwe Schindler
gt; To: java-user@lucene.apache.org > Subject: Re: How to avoid filtering stop words like "IS" in StandardAnalyzer > > Hi Cheng, > > You can provide your own set of stop words as the second argument of > StandardAnalyzer constructor. > > new StandardAnalyzer(ver

Re: How to avoid filtering stop words like "IS" in StandardAnalyzer

2012-01-28 Thread Pedro Lacerda
Hi Cheng, You can provide your own set of stop words as the second argument of StandardAnalyzer constructor. new StandardAnalyzer(version, new HashSet()); Pedro Lacerda 2012/1/28 Cheng > Hi, > > I don't want to filter certain stop words within the StandardAnalyzer? Can > I do so? > > Idea