double score = maxScore;
Proximity degree = Proximity.DEGREE_1;
for(int i = 0, cnt = results.size(); i < cnt; i++) {
Hit<Element> hit = results.get(i);
assertTrue(degree.ordinal() <= hit.getProximity().ordinal());
if(degree.ordinal() == hit.getProximity().ordinal()) {
assertTrue(score >= hit.getScore());
}
score = hit.getScore();
}