lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject getting Analyzer's stop words
Date Fri, 15 Jul 2005 11:50:07 GMT
Hi,

I'd like to add the following extension to the abstract analyzer class:

  public abstract Set getStopwords();

This method returns the stop words in use. Subclasses that don't use stop 
words at all will have to return an empty HashSet (or null?).

An interesting question is how PerFieldAnalyzerWrapper could implement this 
method. I think it should return the union of all its analyzers' stop words.

Regards
 Daniel

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


Mime
View raw message