lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenel...@danielnaber.de>
Subject Re: getting Analyzer's stop words
Date Fri, 15 Jul 2005 19:31:53 GMT
On Friday 15 July 2005 14:33, Erik Hatcher wrote:

> > 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.
>
> What use case do you have in mind for this feature?

I need to do some complicated query-rewriting with an analyzer that doesn't 
change the words but uses the stop words from other analyzers. Well, I've 
now locally introduced my own analyzer that extends Analyzer and that 
looks like the right solution.

Regards
 Daniel

-- 
http://www.danielnaber.de

---------------------------------------------------------------------
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