From e9d4568cf587c40a0f3434df5cb72c6bffb3be15 Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Thu, 10 Nov 2005 18:14:10 +0000 Subject: [PATCH] added random disableCoord to random boolean query git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@332344 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/lucene/search/TestBoolean2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/org/apache/lucene/search/TestBoolean2.java b/src/test/org/apache/lucene/search/TestBoolean2.java index ac08b3f6a9e..2d564f67131 100644 --- a/src/test/org/apache/lucene/search/TestBoolean2.java +++ b/src/test/org/apache/lucene/search/TestBoolean2.java @@ -194,7 +194,7 @@ public class TestBoolean2 extends TestCase { // Random rnd is passed in so that the exact same random query may be created // more than once. public static BooleanQuery randBoolQuery(Random rnd, int level, String field, String[] vals, Callback cb) { - BooleanQuery current = new BooleanQuery(); + BooleanQuery current = new BooleanQuery(rnd.nextInt()<0); for (int i=0; i0) {