<x-tad-bigger>Is there any documentation or info on how to set up the plugins and tell nutch which plugins to use?
</x-tad-bigger>

No there is not yet official documentation but a set of postings in the mailing list archive.
Best way is to look in existing plugin and reproduce them.
I think i had contribute a template plugin back in the days, but i haven't it any more may be you can find something in the mail archive.

In general some short hints:
You need:
+ a folder 'myFunction-plugin'
+ a plugin.xml that describe your plugin and describe on with plug (extension point) your plugin add functionality (extension implementation)
+ the jar that contains your code
+ the third party libraries
+ i strongly suggest to implement the Plugin.java as a MyPluginNamePlugin.java.
This class handles the life cycle of your plugin. It is not a have to since may be you don't need such a life cycle management.

If you wish to get more background informations I suggest reading:
"Introduction to the nutch plug-in architecture"
http://www.media-style.com/index.jsp?folderPK=422&action=&

Doug: can we create a link in the wiki?

HTH
Stefan


---------------------------------------------------------------
enterprise information technology consulting
open technology: http://www.media-style.com
open discussion: http://www.text-mining.org
open thoughts: http://www.find23.net

Reply via email to