[ https://issues.apache.org/jira/browse/NUTCH-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090916#comment-13090916 ]
Lewis John McGibbney edited comment on NUTCH-940 at 8/25/11 1:39 PM: --------------------------------------------------------------------- After a bit of confusion last night I've got this working and attach a new patch which passes all tests. My concern was that the final directory was not consistently named and that this should change, but upon viewing the new patch it does not include all of the new files as per claudio's original. I'm creating the patch as per {code} svn diff > patch-name.patch {code} but it doesn't seem to want to include the new index-static plugin src and associated plugin .xml files... any ideas please. In addition, is it required that we get some JUnit tests together to accompany this new plugin? was (Author: lewismc): After a bit of confusion last night I've got this working and attach a new patch which passes all tests. My concern was that the final directory was not consistently named and that this should change, but upon viewing the new patch it does not include all of the new files as per claudio's original. I'm creating the patch as per {code} patch -p0 -i patch-name.patch {code} but it doesn't seem to want to include the new index-static plugin src and associated plugin .xml files... any ideas please. > 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, 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