[
https://issues.apache.org/jira/browse/NUTCH-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claudio Martella updated NUTCH-940:
-----------------------------------
Attachment: index-static.diff
- fixed src/plugin/build.xml
- changed the map to HashMap<String,String[]>
I hope this works this way. Looks like NutchField expects a Collection.
Is it fine to do doc.add(String, String[]) for what you required?
> 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
> Priority: Minor
> Attachments: 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.
-
You can reply to this email to add a comment to the issue online.