nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Jelsma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2335) Injector not to filter and normalize existing URLs in CrawlDb
Date Thu, 17 Aug 2017 10:20:02 GMT

    [ https://issues.apache.org/jira/browse/NUTCH-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16130204#comment-16130204
] 

Markus Jelsma commented on NUTCH-2335:
--------------------------------------

I moved the sys.out to:
{code}
          if (filters != null) {
            System.out.println("normalize/filter: " + url);
            url = filters.filter(url); // filter the url
          }
{code}

...it still prints! I can't believe this.

> Injector not to filter and normalize existing URLs in CrawlDb
> -------------------------------------------------------------
>
>                 Key: NUTCH-2335
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2335
>             Project: Nutch
>          Issue Type: Improvement
>          Components: crawldb, injector
>    Affects Versions: 1.12
>            Reporter: Sebastian Nagel
>            Assignee: Sebastian Nagel
>             Fix For: 1.14
>
>         Attachments: Injector.java
>
>
> With NUTCH-1712 the behavior of the Injector has changed in case new URLs are added to
an existing CrawlDb:
> - before only injected URLs were filtered and normalized
> - now filters and normalizers are applied to all URLs including those already in the
CrawlDb
> The default should be as before not to filter existing URLs. Filtering and normalizing
may take long for large CrawlDbs and/or complex URL filters. If URL filter or normalizer rules
are not changed there is no need to apply them anew every time new URLs are added. Of course,
injected URLs should be filtered and normalized by default.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message