|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.util.Parameter
org.apache.lucene.search.BooleanClause.Occur
public static final class BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
Field Summary | |
---|---|
static BooleanClause.Occur |
MUST
Use this operator for clauses that must appear in the matching documents. |
static BooleanClause.Occur |
MUST_NOT
Use this operator for clauses that must not appear in the matching documents. |
static BooleanClause.Occur |
SHOULD
Use this operator for clauses that should appear in the matching documents. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class org.apache.lucene.util.Parameter |
---|
readResolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final BooleanClause.Occur MUST
public static final BooleanClause.Occur SHOULD
MUST
clauses one or more SHOULD
clauses must match a document
for the BooleanQuery to match.
BooleanQuery.setMinimumNumberShouldMatch(int)
public static final BooleanClause.Occur MUST_NOT
MUST_NOT
clause.
Method Detail |
---|
public java.lang.String toString()
toString
in class Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |