public final class BooleanClause extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BooleanClause.Occur
Specifies how clauses are to occur in matching documents.
|
Constructor and Description |
---|
BooleanClause(Query query,
BooleanClause.Occur occur)
Constructs a BooleanClause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns true if
o is equal to this. |
BooleanClause.Occur |
getOccur() |
Query |
getQuery() |
int |
hashCode()
Returns a hash code value for this object.
|
boolean |
isProhibited() |
boolean |
isRequired() |
boolean |
isScoring() |
String |
toString() |
public BooleanClause(Query query, BooleanClause.Occur occur)
public BooleanClause.Occur getOccur()
public Query getQuery()
public boolean isProhibited()
public boolean isRequired()
public boolean isScoring()
public boolean equals(Object o)
o
is equal to this.public int hashCode()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.