Package | Description |
---|---|
org.apache.lucene.queryParser |
A simple query parser implemented with JavaCC.
|
Modifier and Type | Field and Description |
---|---|
static QueryParser.Operator |
QueryParser.AND_OPERATOR
Alternative form of QueryParser.Operator.AND
|
static QueryParser.Operator |
QueryParser.OR_OPERATOR
Alternative form of QueryParser.Operator.OR
|
Modifier and Type | Method and Description |
---|---|
QueryParser.Operator |
QueryParser.getDefaultOperator()
Gets implicit operator setting, which will be either AND_OPERATOR
or OR_OPERATOR.
|
static QueryParser.Operator |
QueryParser.Operator.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryParser.Operator[] |
QueryParser.Operator.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParser.setDefaultOperator(QueryParser.Operator op)
Sets the boolean operator of the QueryParser.
|