Uses of Class
org.apache.lucene.queryparser.flexible.core.QueryNodeException
-
Packages that use QueryNodeException 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.core.processors Interfaces and implementations used by query node processorsorg.apache.lucene.queryparser.flexible.precedence.processors Lucene Precedence Query Parser Processorsorg.apache.lucene.queryparser.flexible.standard Lucene Flexible Query Parser Implementationorg.apache.lucene.queryparser.flexible.standard.builders Standard Lucene Query Node Builders.org.apache.lucene.queryparser.flexible.standard.nodes Standard Lucene Query Nodes.org.apache.lucene.queryparser.flexible.standard.parser Lucene Query Parserorg.apache.lucene.queryparser.flexible.standard.processors Lucene Query Node Processors. -
-
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.core
Subclasses of QueryNodeException in org.apache.lucene.queryparser.flexible.core Modifier and Type Class Description class
QueryNodeParseException
This should be thrown when an exception happens during the query parsing from string to the query node tree.Methods in org.apache.lucene.queryparser.flexible.core that throw QueryNodeException Modifier and Type Method Description Object
QueryParserHelper. parse(String query, String defaultField)
Parses a query string to an object, usually some query object.
In this method the three phases are executed:
1st - the query string is parsed using the text parser returned byQueryParserHelper.getSyntaxParser()
, the result is a query node tree
2nd - the query node tree is processed by the processor returned byQueryParserHelper.getQueryNodeProcessor()
3th - a object is built from the query node tree using the builder returned byQueryParserHelper.getQueryBuilder()
-
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.core.builders
Methods in org.apache.lucene.queryparser.flexible.core.builders that throw QueryNodeException Modifier and Type Method Description Object
QueryBuilder. build(QueryNode queryNode)
Builds some kind of object from a query tree.Object
QueryTreeBuilder. build(QueryNode queryNode)
Builds some kind of object from a query tree. -
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.core.processors
Methods in org.apache.lucene.queryparser.flexible.core.processors that throw QueryNodeException Modifier and Type Method Description protected QueryNode
NoChildOptimizationQueryNodeProcessor. postProcessNode(QueryNode node)
protected abstract QueryNode
QueryNodeProcessorImpl. postProcessNode(QueryNode node)
This method is invoked for every node when walking up the tree.protected QueryNode
RemoveDeletedQueryNodesProcessor. postProcessNode(QueryNode node)
protected QueryNode
NoChildOptimizationQueryNodeProcessor. preProcessNode(QueryNode node)
protected abstract QueryNode
QueryNodeProcessorImpl. preProcessNode(QueryNode node)
This method is invoked for every node when walking down the tree.protected QueryNode
RemoveDeletedQueryNodesProcessor. preProcessNode(QueryNode node)
QueryNode
QueryNodeProcessor. process(QueryNode queryTree)
Processes a query node tree.QueryNode
QueryNodeProcessorImpl. process(QueryNode queryTree)
QueryNode
QueryNodeProcessorPipeline. process(QueryNode queryTree)
For reference about this method check:QueryNodeProcessor.process(QueryNode)
.QueryNode
RemoveDeletedQueryNodesProcessor. process(QueryNode queryTree)
protected void
QueryNodeProcessorImpl. processChildren(QueryNode queryTree)
This method is called every time a child is processed.protected List<QueryNode>
NoChildOptimizationQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected abstract List<QueryNode>
QueryNodeProcessorImpl. setChildrenOrder(List<QueryNode> children)
This method is invoked for every node that has at least on child.protected List<QueryNode>
RemoveDeletedQueryNodesProcessor. setChildrenOrder(List<QueryNode> children)
-
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.precedence.processors
Methods in org.apache.lucene.queryparser.flexible.precedence.processors that throw QueryNodeException Modifier and Type Method Description protected QueryNode
BooleanModifiersQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
BooleanModifiersQueryNodeProcessor. preProcessNode(QueryNode node)
QueryNode
BooleanModifiersQueryNodeProcessor. process(QueryNode queryTree)
protected List<QueryNode>
BooleanModifiersQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
-
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.standard
Methods in org.apache.lucene.queryparser.flexible.standard that throw QueryNodeException Modifier and Type Method Description static Query
QueryParserUtil. parse(String[] queries, String[] fields, Analyzer analyzer)
Parses a query which searches on the fields specified.static Query
QueryParserUtil. parse(String[] queries, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.static Query
QueryParserUtil. parse(String query, String[] fields, BooleanClause.Occur[] flags, Analyzer analyzer)
Parses a query, searching on the fields specified.Query
StandardQueryParser. parse(String query, String defaultField)
OverridesQueryParserHelper.parse(String, String)
so it casts the return object toQuery
. -
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.standard.builders
Methods in org.apache.lucene.queryparser.flexible.standard.builders that throw QueryNodeException Modifier and Type Method Description BooleanQuery
AnyQueryNodeBuilder. build(QueryNode queryNode)
BooleanQuery
BooleanQueryNodeBuilder. build(QueryNode queryNode)
Query
BoostQueryNodeBuilder. build(QueryNode queryNode)
TermQuery
DummyQueryNodeBuilder. build(QueryNode queryNode)
Always returnnull
.TermQuery
FieldQueryNodeBuilder. build(QueryNode queryNode)
FuzzyQuery
FuzzyQueryNodeBuilder. build(QueryNode queryNode)
Query
GroupQueryNodeBuilder. build(QueryNode queryNode)
Query
IntervalQueryNodeBuilder. build(QueryNode queryNode)
MatchAllDocsQuery
MatchAllDocsQueryNodeBuilder. build(QueryNode queryNode)
MatchNoDocsQuery
MatchNoDocsQueryNodeBuilder. build(QueryNode queryNode)
Query
ModifierQueryNodeBuilder. build(QueryNode queryNode)
MultiPhraseQuery
MultiPhraseQueryNodeBuilder. build(QueryNode queryNode)
Query
PhraseQueryNodeBuilder. build(QueryNode queryNode)
Query
PointRangeQueryNodeBuilder. build(QueryNode queryNode)
PrefixQuery
PrefixWildcardQueryNodeBuilder. build(QueryNode queryNode)
RegexpQuery
RegexpQueryNodeBuilder. build(QueryNode queryNode)
Query
SlopQueryNodeBuilder. build(QueryNode queryNode)
Query
StandardQueryBuilder. build(QueryNode queryNode)
Query
StandardQueryTreeBuilder. build(QueryNode queryNode)
Query
SynonymQueryNodeBuilder. build(QueryNode queryNode)
TermRangeQuery
TermRangeQueryNodeBuilder. build(QueryNode queryNode)
WildcardQuery
WildcardQueryNodeBuilder. build(QueryNode queryNode)
-
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.standard.nodes
Methods in org.apache.lucene.queryparser.flexible.standard.nodes that throw QueryNodeException Modifier and Type Method Description void
PointRangeQueryNode. setBounds(PointQueryNode lower, PointQueryNode upper, boolean lowerInclusive, boolean upperInclusive, PointsConfig pointsConfig)
Sets the upper and lower bounds of this range query node and thePointsConfig
associated with these bounds.Constructors in org.apache.lucene.queryparser.flexible.standard.nodes that throw QueryNodeException Constructor Description PointRangeQueryNode(PointQueryNode lower, PointQueryNode upper, boolean lowerInclusive, boolean upperInclusive, PointsConfig numericConfig)
Constructs aPointRangeQueryNode
object using the givenPointQueryNode
as its bounds andPointsConfig
. -
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.standard.parser
Subclasses of QueryNodeException in org.apache.lucene.queryparser.flexible.standard.parser Modifier and Type Class Description class
ParseException
This exception is thrown when parse errors are encountered. -
Uses of QueryNodeException in org.apache.lucene.queryparser.flexible.standard.processors
Methods in org.apache.lucene.queryparser.flexible.standard.processors that throw QueryNodeException Modifier and Type Method Description protected QueryNode
AllowLeadingWildcardProcessor. postProcessNode(QueryNode node)
protected QueryNode
AnalyzerQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
BooleanQuery2ModifierNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
BooleanSingleChildOptimizationQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
BoostQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
DefaultPhraseSlopQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
FuzzyQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
IntervalQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
MatchAllDocsQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
MultiFieldQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
OpenRangeQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
PhraseSlopQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
PointQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
PointRangeQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
RegexpQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
RemoveEmptyNonLeafQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
TermRangeQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
WildcardQueryNodeProcessor. postProcessNode(QueryNode node)
protected QueryNode
AllowLeadingWildcardProcessor. preProcessNode(QueryNode node)
protected QueryNode
AnalyzerQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
BooleanQuery2ModifierNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
BooleanSingleChildOptimizationQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
BoostQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
DefaultPhraseSlopQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
FuzzyQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
IntervalQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
MatchAllDocsQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
MultiFieldQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
OpenRangeQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
PhraseSlopQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
PointQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
PointRangeQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
RegexpQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
RemoveEmptyNonLeafQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
TermRangeQueryNodeProcessor. preProcessNode(QueryNode node)
protected QueryNode
WildcardQueryNodeProcessor. preProcessNode(QueryNode node)
QueryNode
AllowLeadingWildcardProcessor. process(QueryNode queryTree)
QueryNode
AnalyzerQueryNodeProcessor. process(QueryNode queryTree)
QueryNode
BooleanQuery2ModifierNodeProcessor. process(QueryNode queryTree)
QueryNode
DefaultPhraseSlopQueryNodeProcessor. process(QueryNode queryTree)
QueryNode
IntervalQueryNodeProcessor. process(QueryNode queryTree)
QueryNode
RemoveEmptyNonLeafQueryNodeProcessor. process(QueryNode queryTree)
protected void
BooleanQuery2ModifierNodeProcessor. processChildren(QueryNode queryTree)
protected void
DefaultPhraseSlopQueryNodeProcessor. processChildren(QueryNode queryTree)
protected void
MultiFieldQueryNodeProcessor. processChildren(QueryNode queryTree)
protected List<QueryNode>
AllowLeadingWildcardProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
AnalyzerQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
BooleanSingleChildOptimizationQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
BoostQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
DefaultPhraseSlopQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
FuzzyQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
IntervalQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
MatchAllDocsQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
MultiFieldQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
OpenRangeQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
PhraseSlopQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
PointQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
PointRangeQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
RegexpQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
RemoveEmptyNonLeafQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
TermRangeQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
protected List<QueryNode>
WildcardQueryNodeProcessor. setChildrenOrder(List<QueryNode> children)
-