public static final class BooleanClause.Occur extends Parameter implements Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
public static final BooleanClause.Occur MUST
public static final BooleanClause.Occur SHOULD
SHOULD
subqueries, at least one of the queries must appear in the matching documents.public static final BooleanClause.Occur MUST_NOT
MUST_NOT
query.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.