Occur must default to SHOULD (TestWildcard breaks otherwise)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-08-27 21:54:58 +00:00
parent f6c12e189a
commit d2705e8e8a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class BooleanClause implements java.io.Serializable {
@deprecated use {@link #setOccur(BooleanClause.Occur)} instead */ @deprecated use {@link #setOccur(BooleanClause.Occur)} instead */
public boolean prohibited = false; // TODO: decrease visibility for Lucene 2.0 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 /** Constructs a BooleanClause with query <code>q</code>, required
* <code>r</code> and prohibited <code>p</code>. * <code>r</code> and prohibited <code>p</code>.