lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject Analyzer thread safety; Stop words
Date Fri, 24 Nov 2006 08:41:56 GMT
Two points about Analyzers:

Does anyone have any experience with thread safety of Analyzer implementations. 
  Apart from PerFieldAnalyzerWrapper, the analyzers seem to be thread safe, but 
is there a requirement that analyzers should be thread safe?

Secondly, has anyone thought that it would be a good idea to extend the Analyzer 
interface (Abstract class) to allow a standard way to set stop words?  There 
seem to be two 'families' of stop word configuration via constructors.

The Set, File and String[] in Analyzers, such as StandardAnalyzer, StopAnalyzer 
where the and then the Russian/Greek variants that do not have the same 
Constructor signature to configure stopwords.

It makes it messy to make analyzers pluggable in a generic way so that stopwords 
can be configurable for any plugged analyzer.

Antony


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