org.apache.lucene.search
public static final class BooleanClause.Occur extends Parameter implements Serializable
| 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 | |
|---|---|
| String | toString() |
MUST_NOT clause.MUST
clauses one or more SHOULD clauses must match a document
for the BooleanQuery to match.See Also: BooleanQuery