make test-framework method public and javadoc'ed

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329011 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-04-23 00:40:54 +00:00
parent c06fe2df68
commit 1381427039
1 changed files with 2 additions and 2 deletions

View File

@ -360,8 +360,8 @@ public class QueryUtils {
}
}
// check that first skip on just created scorers always goes to the right doc
private static void checkFirstSkipTo(final Query q, final IndexSearcher s) throws IOException {
/** check that first skip on just created scorers always goes to the right doc */
public static void checkFirstSkipTo(final Query q, final IndexSearcher s) throws IOException {
//System.out.println("checkFirstSkipTo: "+q);
final float maxDiff = 1e-3f;
final int lastDoc[] = {-1};