nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dogacan Güney (JIRA) <>
Subject [jira] Created: (NUTCH-420) DeleteDuplicates.HashPartitioner depends on the order of IndexDocs
Date Tue, 26 Dec 2006 11:30:20 GMT
DeleteDuplicates.HashPartitioner depends on the order of IndexDocs

                 Key: NUTCH-420
             Project: Nutch
          Issue Type: Bug
          Components: indexer
    Affects Versions: 0.9.0
            Reporter: Dogacan Güney
            Priority: Minor


// byScore case
if (value.score > highest.score) {
  highest.keep = false;
  LOG.debug("-discard " + highest + ", keep " + value);
  output.collect(highest.url, highest);     // delete highest
  highest = value;
// !byScore is also similar

So assume two docs with same hash are in values.If the first has higher score than the second
than second doc will be deleted. But if the first has lower score than the second then none
will be deleted. AFAICS, there should be an else condition to delete value and keep highest
as it is.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message