Package | Description |
---|---|
org.apache.lucene.queryparser.flexible.core |
Core classes of the flexible query parser framework.
|
org.apache.lucene.queryparser.flexible.core.builders |
Necessary classes to implement query builders.
|
org.apache.lucene.queryparser.flexible.standard.builders |
Standard Lucene Query Node Builders.
|
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
QueryParserHelper.getQueryBuilder()
Returns the query builder used to build a object from the query node tree.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParserHelper.setQueryBuilder(QueryBuilder queryBuilder)
The query builder that will be used to build an object from the query node
tree.
|
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 |
QueryTreeBuilder
This class should be used when there is a builder for each type of node.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryTreeBuilder.setBuilder(CharSequence fieldName,
QueryBuilder builder)
Associates a field name with a builder.
|
void |
QueryTreeBuilder.setBuilder(Class<? extends QueryNode> queryNodeClass,
QueryBuilder builder)
Associates a class with a builder
|
Modifier and Type | Interface and Description |
---|---|
interface |
StandardQueryBuilder
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.