Andrzej Bialecki wrote:
D.Saravanaraj wrote:
Hi  Andrzej,

I applied your patch for adaptive refetch. In the Indexer.java, the case
statement for STATUS_FETCH_UNMODIFIED is missing in the reduce() method. I
hope a simple break statement is to be added there.

Good catch! Yes, this case needs to be added to the list, just next to STATUS_FETCH_GONE.

Actually, I was wrong, please add this (it will be added to the new version of the patch):

       case CrawlDatum.STATUS_FETCH_UNMODIFIED:
         // we don't really have the new version of this page,
         // so skip it - it's already in some older segment
         fetchDatum = null;
         break;



--
Best regards,
Andrzej Bialecki     <><
___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Nutch-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nutch-general

Reply via email to