Hits h = is.search(q);
//System.out.println(System.currentTimeMillis() - time);
//time = System.currentTimeMillis();
Iterator iterator = h.iterator();
while(iterator.hasNext()) {
Hit hit = (Hit)iterator.next();
int id = hit.getId();
float score = hit.getScore();
//if(score < 0.025) break;
if(i != id) {
//matrix.set(i, id, score);
matrix.set(i, id, matrix.get(i, id) + score/2);
matrix.set(id, i, matrix.get(id, i) + score/2);