Package | Description |
---|---|
org.apache.lucene.queryParser.core |
Contains the core classes of the flexible query parser framework
Flexible Query Parser
This package contains the necessary classes to implement a query parser.
|
org.apache.lucene.queryParser.standard.parser |
Lucene Query Parser
The package org.apache.lucene.queryParser.standard.parser contains the query parser.
|
Modifier and Type | Method and Description |
---|---|
SyntaxParser |
QueryParserHelper.getSyntaxParser()
Returns the text parser used to build a query node tree from a query
string.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParserHelper.setSyntaxParser(SyntaxParser syntaxParser)
Sets the text parser that will be used to parse the query string, it cannot
be
null . |
Constructor and Description |
---|
QueryParserHelper(QueryConfigHandler queryConfigHandler,
SyntaxParser syntaxParser,
QueryNodeProcessor processor,
QueryBuilder builder)
Creates a query parser helper object using the specified configuration,
text parser, processor and builder.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardSyntaxParser |