You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2010/09/15 14:01:35 UTC
[jira] Commented: (NUTCH-882) Design a Host table in GORA
[ https://issues.apache.org/jira/browse/NUTCH-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909703#action_12909703 ]
Doğacan Güney commented on NUTCH-882:
-------------------------------------
I would like to start implementing the idea proposed by Andrzej. I have one question: I would like Host information to be accessible to plugins as well. Unfortunately, this will mean yet another API break for plugins. Should we do it like MR and introduce a Context object? So a typical plugin would look like this:
public void filter(String url, WebPage page, Context context); // context object will have a host in it for now. In the future, it may have other objects.
What do you think?
> Design a Host table in GORA
> ---------------------------
>
> Key: NUTCH-882
> URL: https://issues.apache.org/jira/browse/NUTCH-882
> Project: Nutch
> Issue Type: New Feature
> Affects Versions: 2.0
> Reporter: Julien Nioche
> Assignee: Julien Nioche
> Fix For: 2.0
>
> Attachments: NUTCH-882-v1.patch
>
>
> Having a separate GORA table for storing information about hosts (and domains?) would be very useful for :
> * customising the behaviour of the fetching on a host basis e.g. number of threads, min time between threads etc...
> * storing stats
> * keeping metadata and possibly propagate them to the webpages
> * keeping a copy of the robots.txt and possibly use that later to filter the webtable
> * store sitemaps files and update the webtable accordingly
> I'll try to come up with a GORA schema for such a host table but any comments are of course already welcome
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.