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 ------------------------------------------------------------------------------ Consider this as a plugin example: You want to be able to recommend specific web pages for given searches. For example, the site you're indexing has a section on writing plugins for nutch. If someone searches for the term "plugin" you want to be able to recommend that they start at the homepage for the plugins section. - You go through your site and add meta-tags to pages that list what terms they should be recommended for. + You go through your site and add meta-tags to pages that list what terms they should be recommended for. The tags look something like this: + + {{{ + <meta name="recommended" content="plugins" /> + }}} In order to do this we'll 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. The QueryFilter needs to be extended to add the ability to search againsed the new field in the index.
