nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <>
Subject [jira] [Commented] (NUTCH-1969) URL Normalizer properly handling slashes
Date Thu, 23 Apr 2015 21:42:39 GMT


Lewis John McGibbney commented on NUTCH-1969:

+1 for commit []

> URL Normalizer properly handling slashes
> ----------------------------------------
>                 Key: NUTCH-1969
>                 URL:
>             Project: Nutch
>          Issue Type: New Feature
>          Components: plugin
>    Affects Versions: 1.9
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.10
>         Attachments: NUTCH-1969.patch
> This is a URL normalizer we use that is simple to use and generate for  dealing with
hosts that mix up slash suffixed URL's with non-slash suffixed URL's.
> It is similar to the host nomalizer, reducing the number of duplicates while crawling.
It takes the new line delimited rules, separated by either a tabulator or whitespace, followed
by a + (PLUS) or - (MINUS) sign denoting whether or not a slash is to be added to the path.
> The normalizer ignores pages that look like files with extensions, see tests.
> Note: the normalizer must be enhanced to not take hosts as first argument of a rule,
but host/path prefixes because some hosts need different rules depending on the root path.
For example,
> * is a CMS that doesn't accept slashes, if they are suffixed,
the user is redirected to a non-slash page;
> * wants to do it just the other way around.

This message was sent by Atlassian JIRA

View raw message