| FieldableNode | A query node implements FieldableNode interface to indicate that its children and itself are associated to a specific field. | code | html |
| QueryNode | A QueryNode is a interface implemented by all nodes on a QueryNode tree. | code | html |
| TextableQueryNode | code | html |
| QueryNodeImpl | A QueryNodeImpl is the default implementation of the interface QueryNode | code | html |
| ModifierQueryNode.Modifier | code | html | |
| ParametricQueryNode.CompareOperator | code | html | |
| ProximityQueryNode.Type | code | html | |
| AndQueryNode | A AndQueryNode represents an AND boolean operation performed on a list of nodes. | code | html |
| AnyQueryNode | A AnyQueryNode represents an ANY operator performed on a list of nodes. | code | html |
| BooleanQueryNode | A BooleanQueryNode represents a list of elements which do not have an explicit boolean operator defined between them. | code | html |
| BoostQueryNode | A BoostQueryNode boosts the QueryNode tree which is under this node. | code | html |
| DeletedQueryNode | A DeletedQueryNode represents a node that was deleted from the query node tree. | code | html |
| FieldQueryNode | A FieldQueryNode represents a element that contains field/text tuple | code | html |
| FuzzyQueryNode | A FuzzyQueryNode represents a element that contains field/text/similarity tuple | code | html |
| GroupQueryNode | A GroupQueryNode represents a location where the original user typed real parenthesis on the query string. | code | html |
| MatchAllDocsQueryNode | A MatchAllDocsQueryNode indicates that a query node tree or subtree will match all documents if executed in the index. | code | html |
| MatchNoDocsQueryNode | A MatchNoDocsQueryNode indicates that a query node tree or subtree will not match any documents if executed in the index. | code | html |
| ModifierQueryNode | A ModifierQueryNode indicates the modifier value (+,-,?,NONE) for each term on the query string. | code | html |
| NoTokenFoundQueryNode | A NoTokenFoundQueryNode is used if a term is convert into no tokens by the tokenizer/lemmatizer/analyzer (null). | code | html |
| OpaqueQueryNode | A OpaqueQueryNode is used for specify values that are not supposed to be parsed by the parser. | code | html |
| OrQueryNode | A OrQueryNode represents an OR boolean operation performed on a list of nodes. | code | html |
| ParametricQueryNode | A ParametricQueryNode represents LE, LT, GE, GT, EQ, NE query. | code | html |
| ParametricRangeQueryNode | A ParametricRangeQueryNode represents LE, LT, GE, GT, EQ, NE query. | code | html |
| PathQueryNode | A PathQueryNode is used to store queries like /company/USA/California /product/shoes/brown. | code | html |
| PathQueryNode.QueryText | code | html | |
| PhraseSlopQueryNode | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. | code | html |
| ProximityQueryNode | A ProximityQueryNode represents a query where the terms should meet specific distance conditions. | code | html |
| ProximityQueryNode.ProximityType | code | html | |
| QuotedFieldQueryNode | A QuotedFieldQueryNode represents phrase query. | code | html |
| SlopQueryNode | A SlopQueryNode represents phrase query with a slop. | code | html |
| TokenizedPhraseQueryNode | A TokenizedPhraseQueryNode represents a node created by a code that tokenizes/lemmatizes/analyzes. | code | html |
The package org.apache.lucene.queryParser.nodes contains all the basic query nodes. The interface that represents a query node is org.apache.lucene.queryParser.core.nodes.QueryNode . Every query node must be serializable.
org.apache.lucene.queryParser.core.nodes.QueryNode s are used by the text parser to create a syntax tree. These nodes are designed to be used by UI or other text parsers. The default Lucene text parser is org.apache.lucene.queryParser.standard.parser.StandardSyntaxParser , it implements Lucene's standard syntax.
org.apache.lucene.queryParser.core.nodes.QueryNode interface should be implemented by all query nodes, the class org.apache.lucene.queryParser.core.nodes.QueryNodeImpl implements org.apache.lucene.queryParser.core.nodes.QueryNode and is extended by all current query node implementations.
A query node tree can be printed to the a stream, and it generates a pseudo XML representation with all the nodes.
A query node tree can also generate a query string that can be parsed back by the original text parser, at this point only the standard lucene syntax is supported.
Grouping nodes:
Leaf Nodes:
Utility Nodes: