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/java/org/apache/lucene/search BooleanClause.java
Date Fri, 27 Aug 2004 21:54:58 GMT
dnaber      2004/08/27 14:54:58

  Modified:    src/java/org/apache/lucene/search BooleanClause.java
  Log:
  Occur must default to SHOULD (TestWildcard breaks otherwise)
  
  Revision  Changes    Path
  1.8       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/BooleanClause.java
  
  Index: BooleanClause.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/BooleanClause.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- BooleanClause.java	27 Aug 2004 20:09:12 -0000	1.7
  +++ BooleanClause.java	27 Aug 2004 21:54:58 -0000	1.8
  @@ -63,7 +63,7 @@
       @deprecated use {@link #setOccur(BooleanClause.Occur)} instead */
     public boolean prohibited = false;  // TODO: decrease visibility for Lucene 2.0
   
  -  private Occur occur;
  +  private Occur occur = Occur.SHOULD;
   
     /** Constructs a BooleanClause with query <code>q</code>, required
      * <code>r</code> and prohibited <code>p</code>.
  
  
  

---------------------------------------------------------------------
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