Hi Manjula,
You could initialize the Analyzer using a modified stop word set. Use
the *StopAnalyzer.ENGLISH_STOP_WORDS_SET
*to get the default stopset and then add your own words to it. You could
then initialize the analyzer using this new stop set instead of the default
stop set.
Hope that helps.

--
Anshum Gupta
http://ai-cafe.blogspot.com


On Tue, Dec 21, 2010 at 9:20 AM, manjula wijewickrema
<manjul...@gmail.com>wrote:

> Hi,
>
> 1) In my application, I need to add more words to the stop word list.
> Therefore, is it possible to add more words into the default lucene stop
> word list?
>
> 2) If is it possible, then how can I do this?
>
> Appreciate any comment from you.
>
> Thanks,
> Manjula.
>

Reply via email to