I see.
I guess those Filters (e.g. PorterStemFilter) that make up the analyzer are not thread safe or cannot be shared.
Thanks for your quick response!

Jay

Yonik Seeley wrote:
On 6/22/07, Jiye Yu <[EMAIL PROTECTED]> wrote:
I guess an Analyzer (built in ones such as StandardAnalyzer,
POrterStemAnalyer and etc) is not thread safe.

Analyzers *are* thread-safe.
Multiple threads can all call analyzer.tokenStream() without any
synchronization.

-Yonik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to