lucene-dev mailing list archives

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

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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message