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

Doğacan Güney edited comment on NUTCH-505 at 7/10/07 11:28 PM:
---------------------------------------------------------------

New version of the patch. As Andrzej has pointed out, db.max.outlinks.per.page 
is read once per getRecordWriter now.

> * you should increase the version number of ParseData, and add a code to read 
> the current version
> of ParseData. Otherwise the updated code won't be able to read older 
> segments. 

This patch doesn't change how parse data reads outlinks. Before this patch, 
parse data used to read db.max.outlinks.per.page outlinks then skip over (as in 
read the outlink then ignore it) the rest. After this patch, parse data reads 
all outlinks. So, I/O behaviour is the same.


 was:
New version of the patch. As Andrzej has pointed out, db.max.outlinks.per.page 
is read once per getRecordWriter now.

> * you should increase the version number of ParseData, and add a code to read 
> the current version of ParseData. > Otherwise the updated code won't be able 
> to read older segments. 

This patch doesn't how parse data reads outlinks. Before this patch, parse data 
used to read db.max.outlinks.per.page outlinks then skip over (as in read the 
outlink then ignore it) the rest. After this patch, parse data reads all 
outlinks. So, I/O behaviour is the same

> Outlink urls should be validated
> --------------------------------
>
>                 Key: NUTCH-505
>                 URL: https://issues.apache.org/jira/browse/NUTCH-505
>             Project: Nutch
>          Issue Type: Improvement
>            Reporter: Doğacan Güney
>            Priority: Minor
>         Attachments: NUTCH-505.patch, NUTCH-505.patch, NUTCH-505_draft.patch, 
> NUTCH-505_draft_v2.patch
>
>
> See discussion here:
> http://www.nabble.com/fetching-http%3A--www.variety.com-%3C-div%3E%3C-a%3E-tf3961692.html
> Parse plugins may extract garbage urls from pages. We need a url validation 
> system that tests these urls and filters out garbage.

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


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nutch-developers mailing list
Nutch-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to