public void updateDbScore(Text url,CrawlDatum old,CrawlDatum datum,List inlinked) throws ScoringFilterException {
  float adjust=0.0f;
  for (int i=0; i < inlinked.size(); i++) {
    CrawlDatum linked=(CrawlDatum)inlinked.get(i);
    adjust+=linked.getScore();
  }
  if (old == null)   old=datum;
  datum.setScore(old.getScore() + adjust);
}

public void updateDbScore ( Text url , CrawlDatum old , CrawlDatum datum , List inlinked ) throws ScoringFilterException { float adjust = 0.0f ; for ( int i = 0 ; i < inlinked . size ( ) ; i ++ ) { CrawlDatum linked = ( CrawlDatum ) inlinked . get ( i ) ; adjust += linked . getScore ( ) ; } if ( old == null ) old = datum ; datum . setScore ( old . getScore ( ) + adjust ) ; }
increase the score by a sum of inlinked scores .
