[
https://issues.apache.org/jira/browse/NUTCH-2216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jelsma updated NUTCH-2216:
---------------------------------
Attachment: NUTCH-2216.patch
Updated patch for trunk. And included second and third comments by Sebastian:
* added _or domains_ to both parameters
* renamed to {{db.ignore.also.redirects}}
bq. this was the case before, but shouldn't db.ignore.external.links.mode also
apply to redirects? Esp. domain-internal redirects are frequently used (e.g.,
helpdesk.xyz.com -> www.xyz.com/helpdesk/)
With this patch, {{db.ignore.also.redirects}} to false (non-default) and
{{db.ignore.internal.link}} and {{db.ignore.internal.link}} set to true,
example.org -> www.example.org redirects will pass.
> db.ignore.*.links to optionally follow internal redirects
> ---------------------------------------------------------
>
> Key: NUTCH-2216
> URL: https://issues.apache.org/jira/browse/NUTCH-2216
> Project: Nutch
> Issue Type: Improvement
> Components: fetcher
> Affects Versions: 1.11
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Minor
> Fix For: 1.12
>
> Attachments: NUTCH-2216.patch, NUTCH-2216.patch
>
>
> db.ignore.internal.links doesn't follow any internal hyperlinks or redirects.
> Together with db.ignore.external.links it helps to restrict the crawl to a
> predefined set of URL's, for example provided by a customer.
> In many cases, a few of those URL's are redirects, which are not followed.
> This issue adds an option to optionally allow internal redirects despite
> db.ignore.internal.links being enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)