nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Commented: (NUTCH-753) Prevent new Fetcher to retrieve the robots twice
Date Wed, 25 Nov 2009 17:22:39 GMT

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

Andrzej Bialecki  commented on NUTCH-753:
-----------------------------------------

Fixed in rev. 884203 - thanks!

> Prevent new Fetcher to retrieve the robots twice
> ------------------------------------------------
>
>                 Key: NUTCH-753
>                 URL: https://issues.apache.org/jira/browse/NUTCH-753
>             Project: Nutch
>          Issue Type: Improvement
>          Components: fetcher
>    Affects Versions: 1.0.0
>            Reporter: Julien Nioche
>            Assignee: Andrzej Bialecki 
>             Fix For: 1.1
>
>         Attachments: NUTCH-753.patch
>
>
> The new Fetcher which is now used by default handles the robots file directly instead
of relying on the protocol. The options Protocol.CHECK_BLOCKING and Protocol.CHECK_ROBOTS
are set to false to prevent fetching the robots.txt twice (in Fetcher + in protocol), which
avoids calling robots.isAllowed. However in practice the robots file is still fetched as there
is a call to robots.getCrawlDelay() a bit further which is not covered by the if (Protocol.CHECK_ROBOTS).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message