[
https://issues.apache.org/jira/browse/NUTCH-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13102627#comment-13102627
]
Markus Jelsma commented on NUTCH-940:
-------------------------------------
Hi Lewis,
All looks fine except the formatting is tabbed and not 2 spaces. You could also
opt for a comma separated list of key/values. Hadoop Configuration offers a
convenience method for that:
http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/conf/Configuration.html#getStrings%28java.lang.String%29
Then all you need is split by colon.
Cheers
> static field plugin
> -------------------
>
> Key: NUTCH-940
> URL: https://issues.apache.org/jira/browse/NUTCH-940
> Project: Nutch
> Issue Type: New Feature
> Components: indexer
> Affects Versions: 1.3, 2.0
> Reporter: Claudio Martella
> Assignee: Lewis John McGibbney
> Priority: Minor
> Fix For: 1.4, 2.0
>
> Attachments: NUTCH-940-branch-1.4-20110824.patch,
> NUTCH-940-branch-1.4-20110825-v2.patch,
> NUTCH-940-branch-1.4-20110910-v3.patch,
> NUTCH-940-branch-1.4-20110911-final.patch, NUTCH-940-trunk-20110911.patch,
> index-static.diff, index-static.diff, static-field.diff, static-field.tar.gz
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira