Hi all,

In Generator.java of nutch 1.5.1 , May be there is a hostCount set problem
whne current segment Count reached topN, code like this


 287         // check if topN reached, select next segment if it is
 288          while (segCounts[hostCount[0]-1] >= limit && hostCount[0] <
maxNumSegments) {
 289          hostCount[0]++;
 290           hostCount[1] = 0;   // May be there hostCount[1] = 1;
 291         }

    i think hostCount[1] will be set to one, not zero, because current url
will select the next segment to generate and current url hostCount is one ,
not zero.

    Sorry for my bad english, i want to know that is this a bug in
hostCount.

    thanks.

-- 
Don't Grow Old, Grow Up... :-)

Reply via email to