From 6f3df5f59fdfba19759b58c30fabde75080df5a7 Mon Sep 17 00:00:00 2001 From: Otis Gospodnetic Date: Sun, 14 Jul 2002 17:22:36 +0000 Subject: [PATCH] - Added an explicit call to QueryParser to set the boolean operator to OR. git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149806 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/lucene/queryParser/TestQueryParser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/org/apache/lucene/queryParser/TestQueryParser.java b/src/test/org/apache/lucene/queryParser/TestQueryParser.java index 455e8ad8727..082ca1db5cf 100644 --- a/src/test/org/apache/lucene/queryParser/TestQueryParser.java +++ b/src/test/org/apache/lucene/queryParser/TestQueryParser.java @@ -122,6 +122,7 @@ public class TestQueryParser extends TestCase { if (a == null) a = new SimpleAnalyzer(); QueryParser qp = new QueryParser("field", a); + qp.setOperator(QueryParser.DEFAULT_OPERATOR_OR); return qp.parse(query); }