Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The following page has been changed by JakeVanderdray:
http://wiki.apache.org/nutch/WritingPlugins

------------------------------------------------------------------------------
  == Introduction ==
  
+ Nutch's plugin system is based on the one used in Eclipse 2.x.  Plugins are 
central to how nuch works.  All of the parsing, indexing and searching that 
nutch does is actually accomplished with varrious plugins.
+ 
- Plugins allow you to extend and change Nutch without having to modify the 
core system.  All of the parsing, indexing and searching that nutch does is 
actually accomplished with varrious plugins.  In writing a plugin, you're 
actually providing one or more ''extensions'' of the existing 
''extension-points'' . The core Nutch ''extension-points'' are themselves 
defined in a plugin, the 
[http://lucene.apache.org/nutch/apidocs/org/apache/nutch/plugin/ExtensionPoint.html
 NutchExtensionPoints] plugin (they are listed in the !NutchExtensionPoints 
[http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/plugin/nutch-extensionpoints/plugin.xml?view=markup
 plugin.xml] file). Each ''extension-point'' define an interface that must be 
implemented by the ''extension''. Nutch core extension points are:
+ In writing a plugin, you're actually providing one or more ''extensions'' of 
the existing ''extension-points'' . The core Nutch ''extension-points'' are 
themselves defined in a plugin, the 
[http://lucene.apache.org/nutch/apidocs/org/apache/nutch/plugin/ExtensionPoint.html
 NutchExtensionPoints] plugin (they are listed in the !NutchExtensionPoints 
[http://svn.apache.org/viewcvs.cgi/lucene/nutch/trunk/src/plugin/nutch-extensionpoints/plugin.xml?view=markup
 plugin.xml] file). Each ''extension-point'' define an interface that must be 
implemented by the ''extension''. Nutch core extension points are:
  
   * 
[http://lucene.apache.org/nutch/apidocs/org/apache/nutch/clustering/OnlineClusterer.html
 OnlineClusterer] -- An extension point interface for online search results 
clustering algorithms (from javadoc).
   * 
[http://lucene.apache.org/nutch/apidocs/org/apache/nutch/indexer/IndexingFilter.html
 IndexingFilter] -- Permits one to add metadata to the indexed fields. All 
plugins found which implement this extension point are run sequentially on the 
parse (from javadoc).
@@ -22, +24 @@

  
  == Required Files ==
  
- You're going to need to create a directory inside of the plugin directory 
with the name of your plugin. Inside that directory you need the following:
+ You'll need to create a directory inside of the plugin directory with the 
name of your plugin. Inside that directory you need the following:
  
   * A plugin.xml file that tells nutch about your plugin.
   * A build.xml file that tells ant how to build your plugin.
   * The source code of your plugin.
  
- == Getting Nutch to Use Your Plugin ==
+ == Getting Nutch to a Plugin ==
  
- In order to get Nutch to use your plugin, you need to edit your 
conf/nutch-site.xml file and add the name of your plugin to the list of 
plugin.includes.
+ In order to get Nutch to a given plugin, you need to edit your 
conf/nutch-site.xml file and add the name of the plugin to the list of 
plugin.includes.
  
  <<< See also: WritingPluginExample
  

Reply via email to