lucene-dev mailing list archives

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28182>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28182
[PATCH] Never write an Analyzer again
------- Additional Comments From cutting@apache.org 2004-04-06 17:00 -------
I have not looked at this code yet, but I wonder if it is thread friendly?
There are many cases where an Analyzer might be used concurrently by multiple
threads, e.g., when constructing snippets, or when indexing. This is difficult
to do without constructing new TokenStreams for each call to
Analyzer.tokenStream(), which it sounds like your implementation does not do.
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org