Package | Description |
---|---|
org.apache.lucene.queryparser.classic |
A simple query parser implemented with JavaCC.
|
Modifier and Type | Field and Description |
---|---|
static QueryParser.Operator |
QueryParserBase.AND_OPERATOR
Alternative form of QueryParser.Operator.AND
|
(package private) QueryParser.Operator |
QueryParserBase.operator
The actual operator that parser uses to combine query terms
|
static QueryParser.Operator |
QueryParserBase.OR_OPERATOR
Alternative form of QueryParser.Operator.OR
|
Modifier and Type | Method and Description |
---|---|
QueryParser.Operator |
QueryParserBase.getDefaultOperator()
Gets implicit operator setting, which will be either AND_OPERATOR
or OR_OPERATOR.
|
static QueryParser.Operator |
QueryParser.Operator.valueOf(java.lang.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 |
QueryParserBase.setDefaultOperator(QueryParser.Operator op)
Sets the boolean operator of the QueryParser.
|