lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/test/org/apache/lucene/queryParser TestQueryParser.java
Date Sun, 14 Jul 2002 17:22:36 GMT
otis        2002/07/14 10:22:36

  Modified:    src/test/org/apache/lucene/queryParser TestQueryParser.java
  Log:
  - Added an explicit call to QueryParser to set the boolean operator to OR.
  
  Revision  Changes    Path
  1.13      +1 -0      jakarta-lucene/src/test/org/apache/lucene/queryParser/TestQueryParser.java
  
  Index: TestQueryParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/queryParser/TestQueryParser.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- TestQueryParser.java	25 Jun 2002 00:05:31 -0000	1.12
  +++ TestQueryParser.java	14 Jul 2002 17:22:36 -0000	1.13
  @@ -122,6 +122,7 @@
       if (a == null)
         a = new SimpleAnalyzer();
       QueryParser qp = new QueryParser("field", a);
  +    qp.setOperator(QueryParser.DEFAULT_OPERATOR_OR);
       return qp.parse(query);
     }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>


Mime
View raw message