@Override public void workQuery(CorrectEntry ce, ResultEntry re) { if (ce.getDocName().equalsIgnoreCase(re.getDocName())) { correctHits++; } map.put(ce.getDocName().hashCode(), 0); }
@Override public void workQuery(CorrectEntry ce, ResultEntry re) { if (ce.getDocName().equalsIgnoreCase(re.getDocName()) && firstCorrectAnswer > resultIteration) { firstCorrectAnswer = resultIteration; } }