org.apache.lucene.search
public static final class BooleanClause.Occur extends Parameter implements Serializable
Field Summary | |
---|---|
static BooleanClause.Occur | MUST Use this operator for terms that must appear in the matching documents. |
static BooleanClause.Occur | MUST_NOT Use this operator for terms that must not appear in the matching documents.
|
static BooleanClause.Occur | SHOULD Use this operator for terms that should appear in the
matching documents. |
Method Summary | |
---|---|
String | toString() |
MUST_NOT
query.SHOULD
subqueries, at least one of the queries must appear in the matching documents.