mirror of https://github.com/apache/lucene.git
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:
parent
c06fe2df68
commit
1381427039
|
@ -360,8 +360,8 @@ public class QueryUtils {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check that first skip on just created scorers always goes to the right doc
|
/** 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 {
|
public static void checkFirstSkipTo(final Query q, final IndexSearcher s) throws IOException {
|
||||||
//System.out.println("checkFirstSkipTo: "+q);
|
//System.out.println("checkFirstSkipTo: "+q);
|
||||||
final float maxDiff = 1e-3f;
|
final float maxDiff = 1e-3f;
|
||||||
final int lastDoc[] = {-1};
|
final int lastDoc[] = {-1};
|
||||||
|
|
Loading…
Reference in New Issue