mirror of https://github.com/apache/lucene.git
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:
parent
f6c12e189a
commit
d2705e8e8a
|
@ -63,7 +63,7 @@ public class BooleanClause implements java.io.Serializable {
|
|||
@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>.
|
||||
|
|
Loading…
Reference in New Issue