lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: How to add more stopwords to StandardAnalyzer
Date Mon, 14 Nov 2005 11:02:24 GMT

On 14 Nov 2005, at 01:01, Supheakmungkol SARIN wrote:
> I'd like to add some other stopwords to the
> StandardAnalyzer. How do i do this?

Have a look at the constructor of StandardAnalyzer that accepts a  
String[] of stop words.  If you use that, you will replace the stop  
word list that is used by default.

     Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message