Dear Wiki user,

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

The "WritingPluginExample" page has been changed by LewisJohnMcgibbney:
http://wiki.apache.org/nutch/WritingPluginExample?action=diff&rev1=13&rev2=14

  {{{
  <meta name="recommended" content="plugins" />
  }}}
- In order to do this we need to write a plugin that extends 3 different 
extension points.  We need to extend the HTMLParser in order to get the 
recommended terms out of the meta tags.  The !IndexingFilter will need to be 
extended to add a recommended field to the index.  Finally we need to add the 
new field to our Solr !QueryFilter needs to be extended to add the ability to 
search againsed the new field in the index.
+ In order to do this we need to write a plugin that extends 3 different 
extension points.  We need to extend the HTMLParser in order to get the 
recommended terms out of the meta tags.  The 
[[http://nutch.apache.org/apidocs-1.3/org/apache/nutch/indexer/IndexingFilter.html|IndexingFilter]]
 will need to be extended to add a recommended field to the index.  Finally we 
need to add the new field to our Solr !QueryFilter needs to be extended to add 
the ability to search againsed the new field in the index.
  
  == Setup ==
  Start by 
[[http://www.apache.org/dev/version-control.html#anon-svn|downloading]] the 
Nutch source code.  Once you've got that make sure it compiles as is before you 
make any changes.  You should be able to get it to compile by running ant from 
the directory you downloaded the source to.  If you have trouble you can write 
to one of the [[Mailing|Mailing Lists]].

Reply via email to