lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/test/org/apache/lucene/queryParser TestMultiAnalyzer.java
Date Mon, 03 Jan 2005 17:05:32 GMT
dnaber      2005/01/03 09:05:32

  Modified:    src/test/org/apache/lucene/queryParser
                        TestMultiAnalyzer.java
  Log:
  avoid deprecated method call
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-lucene/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java
  
  Index: TestMultiAnalyzer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/test/org/apache/lucene/queryParser/TestMultiAnalyzer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestMultiAnalyzer.java	13 Nov 2004 15:16:11 -0000	1.1
  +++ TestMultiAnalyzer.java	3 Jan 2005 17:05:31 -0000	1.2
  @@ -75,7 +75,7 @@
       assertEquals("\"(multi multi2) foo\"^2.0", qp.parse("\"multi foo\"^2").toString());
   
       // non-default operator:
  -    qp.setOperator(QueryParser.DEFAULT_OPERATOR_AND);
  +    qp.setDefaultOperator(QueryParser.AND_OPERATOR);
       assertEquals("+(multi multi2) +foo", qp.parse("multi foo").toString());
   
     }
  
  
  

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


Mime
View raw message