java.lang.Object
org.apache.lucene.queryparser.flexible.core.nodes.QueryNodeImpl
org.apache.lucene.queryparser.flexible.core.nodes.PathQueryNode
All Implemented Interfaces:
Cloneable, QueryNode

public class PathQueryNode extends QueryNodeImpl
A PathQueryNode is used to store queries like /company/USA/California /product/shoes/brown. QueryText are objects that contain the text, begin position and end position in the query.

Example how the text parser creates these objects:

 List values = ArrayList();
 values.add(new PathQueryNode.QueryText("company", 1, 7));
 values.add(new PathQueryNode.QueryText("USA", 9, 12));
 values.add(new PathQueryNode.QueryText("California", 14, 23));
 QueryNode q = new PathQueryNode(values);