A simple query parser implemented with JavaCC.

Note that JavaCC defines lots of public classes, methods and fields that do not need to be public.  These clutter the documentation.  Sorry.

Note that because JavaCC defines a class named Token, org.apache.lucene.analysis.Token must always be fully qualified in source code in this package.

NOTE: contrib/queryparser has an alternative queryparser that matches the syntax of this one, but is more modular, enabling substantial customization to how a query is created.


CharStream This interface describes a character stream that maintains line and column number positions of the characters. 
QueryParserConstants Token literal values and constants. 


FastCharStream An efficient implementation of JavaCC's CharStream interface. 
MultiFieldQueryParser A QueryParser which constructs queries to search multiple fields. 
QueryParser This class is generated by JavaCC. 
QueryParserTokenManager Token Manager. 
Token Describes the input token stream. 


QueryParser.Operator The default operator for parsing queries. 


ParseException This exception is thrown when parse errors are encountered. 


TokenMgrError Token Manager Error.