Yes parsers are used in multiple threads.
In case you have to share resource between the parser threads it is a good idea to store these in a plugin-class object (you can implement and need to setup in your plugin.xml), since each plugin has only one plugin class instance until runtime.

HTH
Stefan

Am 16.12.2005 um 20:01 schrieb Teruhiko Kurosaka:

Does Nutch/Lucene use multiple threads?
Do all of of the plugins need to be MT safe?
I'm mostly concerned with parser and analyzer
plugins.
Thanks.
-kuro




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to