You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Patrick Burleson <pb...@gmail.com> on 2004/08/16 23:45:48 UTC

Snowball Analyzer thread-safe?

I don't know if this is the appropriate place to ask this, but does
anyone know if the Snowball Analyzers (or analyzers in general) are
thread-safe? Or should I create a new one every time I need to
tokenize a String?

Thanks,
Patrick

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


Re: Snowball Analyzer thread-safe?

Posted by Patrick Burleson <pb...@gmail.com>.
Pardon the reply to self, but it would appear looking at the source of
SnowballAnalyzer.java, that it is thread-safe as it uses all locally
defined variables for the tokenStream() method. Or am I missing
something?

Thanks,
Patrick

On Mon, 16 Aug 2004 17:45:48 -0400, Patrick Burleson
<pb...@gmail.com> wrote:
> I don't know if this is the appropriate place to ask this, but does
> anyone know if the Snowball Analyzers (or analyzers in general) are
> thread-safe? Or should I create a new one every time I need to
> tokenize a String?
> 
> Thanks,
> Patrick
>

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