public class BooleanClause extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
boolean |
prohibited
If true, documents documents which do
match this sub-query will not match the boolean query.
|
Query |
query
The query whose matching documents are combined by the boolean query.
|
boolean |
required
If true, documents documents which do not
match this sub-query will not match the boolean query.
|
Constructor and Description |
---|
BooleanClause(Query q,
boolean r,
boolean p)
Constructs a BooleanClause with query
q , required
r and prohibited p . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns true iff
o is equal to this. |
int |
hashCode()
Returns a hash code value for this object.
|
public Query query
public boolean required
public boolean prohibited
public BooleanClause(Query q, boolean r, boolean p)
q
, required
r
and prohibited p
.Copyright © 2024 GATE. All rights reserved.