[
https://issues.apache.org/jira/browse/NUTCH-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Drapkin updated NUTCH-1242:
----------------------------------
Attachment: trunk.patch
Okay, here's a patch against trunk that does:
1) modifies ParseOutputFormat to use the boolean properties "parse.filter.urls"
and "parse.normalize.urls" to determine whether to filter/normalize URLs,
respectively.
2) adds both options to nutch-default.xml with values of true (as to maintain
backwards compatibility).
3) adds "-nofilter" and "-nonormalize" parameters to ParseSegment that will
disable URL filtration + normalization for a particular invokation of
ParseSegment.
> Allow disabling of URL Filters in ParseSegment
> ----------------------------------------------
>
> Key: NUTCH-1242
> URL: https://issues.apache.org/jira/browse/NUTCH-1242
> Project: Nutch
> Issue Type: Improvement
> Reporter: Edward Drapkin
> Assignee: Markus Jelsma
> Fix For: 1.5
>
> Attachments: ParseSegment.patch, parseoutputformat.patch, trunk.patch
>
>
> Right now, the ParseSegment job does not allow you to disable URL filtration.
> For reasons that aren't worth explaining, I need to do this, so I enabled
> this behavior through the use of a boolean configuration value
> "parse.filter.urls" which defaults to true.
> I've attached a simple, preliminary patch that enables this behavior with
> that configuration option. I'm not sure if it should be made a command line
> option or not.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira