package

org.apache.lucene.queryParser

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.

Interfaces

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

Classes

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. 

Enums

QueryParser.Operator The default operator for parsing queries. 

Exceptions

ParseException This exception is thrown when parse errors are encountered. 

Errors

TokenMgrError Token Manager Error.