Skip to content

Commit

Permalink
commit to address final patch for NUTCH-940 1.4 branch.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/nutch/branches/branch-1.4@1169502 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Lewis John McGibbney committed Sep 11, 2011
1 parent 76d2227 commit 59665eb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Expand Up @@ -29,6 +29,11 @@
import org.apache.hadoop.io.Text;
import org.apache.hadoop.conf.Configuration;

/** A simple plugin called at indexing that adds fields with static data.
* You can specify a list of fieldname:fieldcontent per nutch job.
* It can be useful when collections can't be created by urlpatterns,
* like in subcollection, but on a job-basis. */

public class StaticFieldIndexer implements IndexingFilter {
private Configuration conf;
private HashMap<String, String[]> fields;
Expand Down
@@ -0,0 +1,5 @@
<html>
<body>
<p>A simple plugin called at indexing that adds fields with static data. You can specify a list of fieldname:fieldcontent per nutch job. It can be useful when collections can't be created by urlpatterns, like in subcollection, but on a job-basis.</p><p></p>
</body>
</html>

0 comments on commit 59665eb

Please sign in to comment.