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


Reply via email to