After adding RANDOM_MULTIPLIER, the statistics in verbose mode were wrong

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@983100 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2010-08-06 19:25:58 +00:00
parent a0232fe6b7
commit 98c139d717
2 changed files with 4 additions and 4 deletions

View File

@ -382,8 +382,8 @@ public class TestNumericRangeQuery32 extends LuceneTestCaseJ4 {
assertEquals("Total number of terms should be equal for unlimited precStep", termCountT, termCountC);
} else if (VERBOSE) {
System.out.println("Average number of terms during random search on '" + field + "':");
System.out.println(" Trie query: " + (((double)termCountT)/(10*4)));
System.out.println(" Classical query: " + (((double)termCountC)/(10*4)));
System.out.println(" Trie query: " + (((double)termCountT)/(num * 4)));
System.out.println(" Classical query: " + (((double)termCountC)/(num * 4)));
}
}

View File

@ -401,8 +401,8 @@ public class TestNumericRangeQuery64 extends LuceneTestCaseJ4 {
assertEquals("Total number of terms should be equal for unlimited precStep", termCountT, termCountC);
} else if (VERBOSE) {
System.out.println("Average number of terms during random search on '" + field + "':");
System.out.println(" Trie query: " + (((double)termCountT)/(10*4)));
System.out.println(" Classical query: " + (((double)termCountC)/(10*4)));
System.out.println(" Trie query: " + (((double)termCountT)/(num * 4)));
System.out.println(" Classical query: " + (((double)termCountC)/(num * 4)));
}
}