public static final class BooleanClause.Occur extends Parameter implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
readResolve
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.public static final BooleanClause.Occur MUST_NOT
MUST_NOT
clause.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.