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
|
Modifier and Type | Class and Description |
---|---|
class |
AnyQueryNodeBuilder
Builds a BooleanQuery of SHOULD clauses, possibly with
some minimum number to match.
|
class |
BooleanQueryNodeBuilder
Builds a
BooleanQuery object from a BooleanQueryNode object. |
class |
BoostQueryNodeBuilder
This builder basically reads the
Query object set on the
BoostQueryNode child using
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID and applies the boost value
defined in the BoostQueryNode . |
class |
DummyQueryNodeBuilder
This builder does nothing.
|
class |
FieldQueryNodeBuilder
Builds a
TermQuery object from a FieldQueryNode object. |
class |
FuzzyQueryNodeBuilder
Builds a
FuzzyQuery object from a FuzzyQueryNode object. |
class |
GroupQueryNodeBuilder
Builds no object, it only returns the
Query object set on the
GroupQueryNode object using a
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID tag. |
class |
MatchAllDocsQueryNodeBuilder
Builds a
MatchAllDocsQuery object from a
MatchAllDocsQueryNode object. |
class |
MatchNoDocsQueryNodeBuilder
Builds an empty
BooleanQuery object from a
MatchNoDocsQueryNode object. |
class |
ModifierQueryNodeBuilder
Builds no object, it only returns the
Query object set on the
ModifierQueryNode object using a
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID tag. |
class |
MultiPhraseQueryNodeBuilder
Builds a
MultiPhraseQuery object from a MultiPhraseQueryNode
object. |
class |
NumericRangeQueryNodeBuilder
Builds
NumericRangeQuery s out of NumericRangeQueryNode s. |
class |
PhraseQueryNodeBuilder
Builds a
PhraseQuery object from a TokenizedPhraseQueryNode
object. |
class |
PrefixWildcardQueryNodeBuilder
Builds a
PrefixQuery object from a PrefixWildcardQueryNode
object. |
class |
RegexpQueryNodeBuilder
Builds a
RegexpQuery object from a RegexpQueryNode object. |
class |
SlopQueryNodeBuilder
This builder basically reads the
Query object set on the
SlopQueryNode child using
QueryTreeBuilder.QUERY_TREE_BUILDER_TAGID and applies the slop value
defined in the SlopQueryNode . |
class |
StandardBooleanQueryNodeBuilder
This builder does the same as the
BooleanQueryNodeBuilder , but this
considers if the built BooleanQuery should have its coord disabled or
not. |
class |
StandardQueryTreeBuilder
This query tree builder only defines the necessary map to build a
Query tree object. |
class |
TermRangeQueryNodeBuilder
Builds a
TermRangeQuery object from a TermRangeQueryNode
object. |
class |
WildcardQueryNodeBuilder
Builds a
WildcardQuery object from a WildcardQueryNode
object. |
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.